diff options
Diffstat (limited to 'base/message_loop/message_loop_unittest.cc')
-rw-r--r-- | base/message_loop/message_loop_unittest.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/message_loop/message_loop_unittest.cc b/base/message_loop/message_loop_unittest.cc index ab05b3c..bd464fa 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, |