diff options
-rw-r--r-- | base/sys_string_conversions_unittest.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/sys_string_conversions_unittest.cc b/base/sys_string_conversions_unittest.cc index 4834f00..344626f 100644 --- a/base/sys_string_conversions_unittest.cc +++ b/base/sys_string_conversions_unittest.cc @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "base/basictypes.h" #include "base/string_piece.h" #include "base/string_util.h" #include "base/sys_string_conversions.h" @@ -69,6 +70,7 @@ TEST(SysStrings, SysUTF8ToWide) { } // We assume the test is running in a UTF8 locale. +#if defined(OS_LINUX) TEST(SysStrings, SysWideToNativeMB) { using base::SysWideToNativeMB; EXPECT_EQ("Hello, world", SysWideToNativeMB(L"Hello, world")); @@ -176,3 +178,4 @@ TEST(SysStrings, SysNativeMBAndWide) { EXPECT_EQ(wide, trip); } } +#endif // OS_LINUX |