diff options
author | Jisi Liu <jisi.liu@gmail.com> | 2016-05-10 16:20:08 -0700 |
---|---|---|
committer | Jisi Liu <jisi.liu@gmail.com> | 2016-05-10 16:20:08 -0700 |
commit | e8737d86764108c18f8fe7c577c5dddf692962a1 (patch) | |
tree | 7b34209e581b863d3b05eb7bb87d2fb00bebf1c7 /src | |
parent | a1938b2aa9ca86ce7ce50c27ff9737c1008d2a03 (diff) | |
download | protobuf-e8737d86764108c18f8fe7c577c5dddf692962a1.tar.gz protobuf-e8737d86764108c18f8fe7c577c5dddf692962a1.tar.bz2 protobuf-e8737d86764108c18f8fe7c577c5dddf692962a1.zip |
Fix the command line interface unittest again
This time move the macro inside namespaces; hopefully will work with the
integration script.
Diffstat (limited to 'src')
-rw-r--r-- | src/google/protobuf/compiler/command_line_interface_unittest.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/google/protobuf/compiler/command_line_interface_unittest.cc b/src/google/protobuf/compiler/command_line_interface_unittest.cc index ae2900b1..9b504d25 100644 --- a/src/google/protobuf/compiler/command_line_interface_unittest.cc +++ b/src/google/protobuf/compiler/command_line_interface_unittest.cc @@ -65,13 +65,14 @@ #include <gtest/gtest.h> -// Disable the whole test when we use tcmalloc for "draconian" heap checks, in -// which case tcmalloc will print warnings that fail the plugin tests. -#if !GOOGLE_PROTOBUF_HEAP_CHECK_DRACONIAN namespace google { namespace protobuf { namespace compiler { +// Disable the whole test when we use tcmalloc for "draconian" heap checks, in +// which case tcmalloc will print warnings that fail the plugin tests. +#if !GOOGLE_PROTOBUF_HEAP_CHECK_DRACONIAN + #if defined(_WIN32) #ifndef STDIN_FILENO #define STDIN_FILENO 0 |