diff options
author | Jisi Liu <jisi.liu@gmail.com> | 2017-08-11 11:32:22 -0700 |
---|---|---|
committer | Jisi Liu <jisi.liu@gmail.com> | 2017-08-11 11:38:40 -0700 |
commit | db125b8d3a3ceb8d2ed0938f6121858393078097 (patch) | |
tree | 8034866c00c4d25f9f5177be098762cb54ebe086 /src/google | |
parent | d2f3adb3b30c8d032f7bda0137593e932975306c (diff) | |
download | protobuf-db125b8d3a3ceb8d2ed0938f6121858393078097.tar.gz protobuf-db125b8d3a3ceb8d2ed0938f6121858393078097.tar.bz2 protobuf-db125b8d3a3ceb8d2ed0938f6121858393078097.zip |
Fixing io_win32 for MinGW32
Diffstat (limited to 'src/google')
-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> |