Index: base/message_loop/message_loop_unittest.cc |
diff --git a/base/message_loop/message_loop_unittest.cc b/base/message_loop/message_loop_unittest.cc |
index ab05b3cb5abcdc465d0e52b9a303d0ffcb6c724b..bd464fad9e1920f4ce174c7292e19f845528e157 100644 |
--- a/base/message_loop/message_loop_unittest.cc |
+++ b/base/message_loop/message_loop_unittest.cc |
@@ -609,7 +609,9 @@ void RunTest_Nesting(MessageLoop::Type message_loop_type) { |
EXPECT_EQ(depth, 0); |
} |
-const wchar_t* const kMessageBoxTitle = L"MessageLoop Unit Test"; |
+#if defined(OS_WIN) |
+const wchar_t kMessageBoxTitle[] = L"MessageLoop Unit Test"; |
+#endif // defined(OS_WIN) |
enum TaskType { |
MESSAGEBOX, |