summaryrefslogtreecommitdiff
path: root/src/warnings.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/warnings.hpp')
-rw-r--r--src/warnings.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/warnings.hpp b/src/warnings.hpp
index b8822d0..9932ce3 100644
--- a/src/warnings.hpp
+++ b/src/warnings.hpp
@@ -413,7 +413,9 @@ EC(-Wmissing-prototypes)
///
// like -Wmissing-declarations but for variables instead of functions
+#ifndef GTEST_HAS_PTHREAD // this is a hack
EC(-Wmissing-variable-declarations)
+#endif
/// Warn about constructs not instrumented by
/// -fmudflap