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/compiler/importer.cc | |
parent | 5eb717c3006ad7da9aa6e49d40328a3963ad22a3 (diff) | |
download | protobuf-9c197b7ecba6019b7c81c673cf100b2fad4033ad.tar.gz protobuf-9c197b7ecba6019b7c81c673cf100b2fad4033ad.tar.bz2 protobuf-9c197b7ecba6019b7c81c673cf100b2fad4033ad.zip |
Support win32 long path for cross compiled build
Diffstat (limited to 'src/google/protobuf/compiler/importer.cc')
-rw-r--r-- | src/google/protobuf/compiler/importer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/importer.cc b/src/google/protobuf/compiler/importer.cc index 9792ffe8..a5341e0d 100644 --- a/src/google/protobuf/compiler/importer.cc +++ b/src/google/protobuf/compiler/importer.cc @@ -65,7 +65,7 @@ namespace google { namespace protobuf { namespace compiler { -#ifdef _MSC_VER +#ifdef _WIN32 // DO NOT include <io.h>, instead create functions in io_win32.{h,cc} and import // them like we do below. using google::protobuf::internal::win32::access; |