diff options
author | Jisi Liu <liujisi@google.com> | 2015-06-16 19:12:25 -0700 |
---|---|---|
committer | Jisi Liu <liujisi@google.com> | 2015-06-16 19:12:25 -0700 |
commit | b36395b2bac88f70070544c325bc09234cb1f1a6 (patch) | |
tree | f2d0c53ce1a94234cc4994ea319f1560f44b2f96 /src/google | |
parent | 4cbb612299eaf8259db25f5dcda46022fbd1db54 (diff) | |
parent | 78d470c7a50d3788bf3f819eba99597aea43674f (diff) | |
download | protobuf-b36395b2bac88f70070544c325bc09234cb1f1a6.tar.gz protobuf-b36395b2bac88f70070544c325bc09234cb1f1a6.tar.bz2 protobuf-b36395b2bac88f70070544c325bc09234cb1f1a6.zip |
Merge pull request #497 from pherl/config_h
Check HAVE_CONFIG_H before including "config.h"
Diffstat (limited to 'src/google')
-rw-r--r-- | src/google/protobuf/io/gzip_stream.cc | 2 | ||||
-rw-r--r-- | src/google/protobuf/io/zero_copy_stream_unittest.cc | 2 | ||||
-rw-r--r-- | src/google/protobuf/stubs/common.cc | 2 | ||||
-rw-r--r-- | src/google/protobuf/stubs/common_unittest.cc | 2 | ||||
-rw-r--r-- | src/google/protobuf/testing/zcgunzip.cc | 2 | ||||
-rw-r--r-- | src/google/protobuf/testing/zcgzip.cc | 2 |
6 files changed, 0 insertions, 12 deletions
diff --git a/src/google/protobuf/io/gzip_stream.cc b/src/google/protobuf/io/gzip_stream.cc index c9f4ca7f..dd7c036e 100644 --- a/src/google/protobuf/io/gzip_stream.cc +++ b/src/google/protobuf/io/gzip_stream.cc @@ -33,8 +33,6 @@ // This file contains the implementation of classes GzipInputStream and // GzipOutputStream. -#include "config.h" - #if HAVE_ZLIB #include <google/protobuf/io/gzip_stream.h> diff --git a/src/google/protobuf/io/zero_copy_stream_unittest.cc b/src/google/protobuf/io/zero_copy_stream_unittest.cc index dd3d1285..f2e5b629 100644 --- a/src/google/protobuf/io/zero_copy_stream_unittest.cc +++ b/src/google/protobuf/io/zero_copy_stream_unittest.cc @@ -46,8 +46,6 @@ // "parametized tests" so that one set of tests can be used on all the // implementations. -#include "config.h" - #ifdef _MSC_VER #include <io.h> #else diff --git a/src/google/protobuf/stubs/common.cc b/src/google/protobuf/stubs/common.cc index 54e00ccb..22cc5aa1 100644 --- a/src/google/protobuf/stubs/common.cc +++ b/src/google/protobuf/stubs/common.cc @@ -36,8 +36,6 @@ #include <errno.h> #include <vector> -#include "config.h" - #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN // We only need minimal includes #include <windows.h> diff --git a/src/google/protobuf/stubs/common_unittest.cc b/src/google/protobuf/stubs/common_unittest.cc index 5f458e98..f9e2cfd4 100644 --- a/src/google/protobuf/stubs/common_unittest.cc +++ b/src/google/protobuf/stubs/common_unittest.cc @@ -39,8 +39,6 @@ #include <google/protobuf/testing/googletest.h> #include <gtest/gtest.h> -#include "config.h" - namespace google { namespace protobuf { namespace { diff --git a/src/google/protobuf/testing/zcgunzip.cc b/src/google/protobuf/testing/zcgunzip.cc index daf74ff1..c9d085c8 100644 --- a/src/google/protobuf/testing/zcgunzip.cc +++ b/src/google/protobuf/testing/zcgunzip.cc @@ -38,8 +38,6 @@ // Reads gzip stream on standard input and writes decompressed data to standard // output. -#include "config.h" - #include <assert.h> #include <stdio.h> #include <stdlib.h> diff --git a/src/google/protobuf/testing/zcgzip.cc b/src/google/protobuf/testing/zcgzip.cc index a4101999..e910f321 100644 --- a/src/google/protobuf/testing/zcgzip.cc +++ b/src/google/protobuf/testing/zcgzip.cc @@ -38,8 +38,6 @@ // Reads data on standard input and writes compressed gzip stream to standard // output. -#include "config.h" - #include <stdio.h> #include <stdlib.h> #include <fcntl.h> |