summaryrefslogtreecommitdiff
path: root/src/warnings.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-12-21 19:44:29 -0800
committerBen Longbons <b.r.longbons@gmail.com>2013-12-21 20:03:33 -0800
commitafc52a3e6a8dd275d48a5e21cb15086b3ec63b5b (patch)
treea2ef607ce7afc0db7bae1af4638c0aaf2afb9968 /src/warnings.hpp
parent9316b28e655093547d397197f30173cfc51f8de8 (diff)
downloadtmwa-afc52a3e6a8dd275d48a5e21cb15086b3ec63b5b.tar.gz
tmwa-afc52a3e6a8dd275d48a5e21cb15086b3ec63b5b.tar.bz2
tmwa-afc52a3e6a8dd275d48a5e21cb15086b3ec63b5b.tar.xz
tmwa-afc52a3e6a8dd275d48a5e21cb15086b3ec63b5b.zip
fix travis errors
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