From fcb8a50b5017673a90dd9d7eef9999a101151c30 Mon Sep 17 00:00:00 2001 From: "xiaofeng@google.com" Date: Mon, 24 Sep 2012 06:48:20 +0000 Subject: Update MSVC project files and fix compilation issues in MSVC. --- src/google/protobuf/stubs/stringprintf_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/google/protobuf/stubs/stringprintf_unittest.cc') diff --git a/src/google/protobuf/stubs/stringprintf_unittest.cc b/src/google/protobuf/stubs/stringprintf_unittest.cc index 5cf7fffc..a78a2027 100644 --- a/src/google/protobuf/stubs/stringprintf_unittest.cc +++ b/src/google/protobuf/stubs/stringprintf_unittest.cc @@ -55,9 +55,9 @@ TEST(StringPrintfTest, Empty) { TEST(StringPrintfTest, Misc) { // MSVC does not support $ format specifier. -#if !defined(COMPILER_MSVC) +#if !defined(_MSC_VER) EXPECT_EQ("123hello w", StringPrintf("%3$d%2$s %1$c", 'w', "hello", 123)); -#endif // !COMPILER_MSVC +#endif // !_MSC_VER } TEST(StringAppendFTest, Empty) { -- cgit v1.2.3