diff options
-rw-r--r-- | src/google/protobuf/stubs/io_win32.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/google/protobuf/stubs/io_win32.cc b/src/google/protobuf/stubs/io_win32.cc index 6f0295e1..a6449751 100644 --- a/src/google/protobuf/stubs/io_win32.cc +++ b/src/google/protobuf/stubs/io_win32.cc @@ -44,7 +44,10 @@ // Comment this out to fall back to using the ANSI versions (open, mkdir, ...) // instead of the Unicode ones (_wopen, _wmkdir, ...). Doing so can be useful to // debug failing tests if that's caused by the long path support. +// Long path support is disabled in MinGW +#ifndef __MINGW32__ #define SUPPORT_LONGPATHS +#endif // !__MINGW32__ #include <ctype.h> #include <direct.h> |