diff options
author | Jisi Liu <jisi.liu@gmail.com> | 2017-11-10 10:28:14 -0800 |
---|---|---|
committer | Jisi Liu <jisi.liu@gmail.com> | 2017-11-10 10:28:14 -0800 |
commit | 9c197b7ecba6019b7c81c673cf100b2fad4033ad (patch) | |
tree | aa997af1d17ed7549e654d56671cf0fa1c87e2d9 /src/google/protobuf/stubs/io_win32.h | |
parent | 5eb717c3006ad7da9aa6e49d40328a3963ad22a3 (diff) |
Support win32 long path for cross compiled build
Diffstat (limited to 'src/google/protobuf/stubs/io_win32.h')
-rw-r--r-- | src/google/protobuf/stubs/io_win32.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/google/protobuf/stubs/io_win32.h b/src/google/protobuf/stubs/io_win32.h index a20e64c7..53160089 100644 --- a/src/google/protobuf/stubs/io_win32.h +++ b/src/google/protobuf/stubs/io_win32.h @@ -52,7 +52,6 @@ // Compilers on Windows other than MSVC (e.g. Cygwin, MinGW32) define the // following functions already, except for mkdir. -#ifdef _MSC_VER namespace google { namespace protobuf { namespace internal { @@ -77,9 +76,6 @@ LIBPROTOBUF_EXPORT std::wstring testonly_path_to_winpath( } // namespace internal } // namespace protobuf } // namespace google -#else // _MSC_VER -#define mkdir(name, mode) mkdir(name) -#endif // !_MSC_VER #ifndef W_OK #define W_OK 02 // not defined by MSVC for whatever reason @@ -100,5 +96,3 @@ LIBPROTOBUF_EXPORT std::wstring testonly_path_to_winpath( #endif // defined(_WIN32) #endif // GOOGLE_PROTOBUF_STUBS_IO_WIN32_H__ - - |