Merge pull request #1514 from pherl/fix_heap_check
Fix the command line interface unittest again
This commit is contained in:
commit
c67879b9fa
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue