diff options
Diffstat (limited to 'src/google/protobuf/stubs/io_win32.h')
-rw-r--r-- | src/google/protobuf/stubs/io_win32.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/google/protobuf/stubs/io_win32.h b/src/google/protobuf/stubs/io_win32.h index 3699945b..2cd53a5e 100644 --- a/src/google/protobuf/stubs/io_win32.h +++ b/src/google/protobuf/stubs/io_win32.h @@ -45,7 +45,7 @@ #ifndef GOOGLE_PROTOBUF_STUBS_IO_WIN32_H__ #define GOOGLE_PROTOBUF_STUBS_IO_WIN32_H__ -#if defined(_WIN32) +#if defined(_MSC_VER) #include <string> #include <google/protobuf/stubs/port.h> @@ -91,7 +91,7 @@ LIBPROTOBUF_EXPORT std::wstring testonly_path_to_winpath( #define STDOUT_FILENO 1 #endif -#endif // defined(_WIN32) +#endif // defined(_MSC_VER) #endif // GOOGLE_PROTOBUF_STUBS_IO_WIN32_H__ |