diff options
author | Bo Yang <teboring@google.com> | 2015-07-06 16:07:57 -0700 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2015-07-09 12:39:52 -0700 |
commit | 9f563bd0d8863da35524f7d0a6f87abb2ec228a3 (patch) | |
tree | 8475f940f97422dcba951238e93b16f223d94f0b /src/google/protobuf/testing/zcgunzip.cc | |
parent | 5a020d41a55d2ad44bf0e84c74ba91758ef5d016 (diff) | |
download | protobuf-9f563bd0d8863da35524f7d0a6f87abb2ec228a3.tar.gz protobuf-9f563bd0d8863da35524f7d0a6f87abb2ec228a3.tar.bz2 protobuf-9f563bd0d8863da35524f7d0a6f87abb2ec228a3.zip |
Internal local modifications.
Diffstat (limited to 'src/google/protobuf/testing/zcgunzip.cc')
-rw-r--r-- | src/google/protobuf/testing/zcgunzip.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/google/protobuf/testing/zcgunzip.cc b/src/google/protobuf/testing/zcgunzip.cc index c9d085c8..76f8cfe1 100644 --- a/src/google/protobuf/testing/zcgunzip.cc +++ b/src/google/protobuf/testing/zcgunzip.cc @@ -43,6 +43,15 @@ #include <stdlib.h> #include <fcntl.h> +#ifdef _WIN32 +#ifndef STDIN_FILENO +#define STDIN_FILENO 0 +#endif +#ifndef STDOUT_FILENO +#define STDOUT_FILENO 1 +#endif +#endif + #include <google/protobuf/io/gzip_stream.h> #include <google/protobuf/io/zero_copy_stream_impl.h> |