summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorFrederich Munch <colsebas@hotmail.com>2017-04-27 18:05:29 +0000
committerFrederich Munch <colsebas@hotmail.com>2017-04-27 18:05:29 +0000
commit3ba085563c9ae28a19a60a3c06b28364bf6c2370 (patch)
treed6c424bdc78b1e9e19911f1ca51839f3ffc81f52 /llvm
parentd0c0700f92126ed8de1d89c1d730644f3e206218 (diff)
downloadbcm5719-llvm-3ba085563c9ae28a19a60a3c06b28364bf6c2370.tar.gz
bcm5719-llvm-3ba085563c9ae28a19a60a3c06b28364bf6c2370.zip
Limit disabling of warnings emitted from r301571 by checking __GNUC__.
llvm-svn: 301572
Diffstat (limited to 'llvm')
-rw-r--r--llvm/unittests/Support/DynamicLibrary/PipSqueak.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/DynamicLibrary/PipSqueak.cxx b/llvm/unittests/Support/DynamicLibrary/PipSqueak.cxx
index c54de6759dc..d1cf7c042b7 100644
--- a/llvm/unittests/Support/DynamicLibrary/PipSqueak.cxx
+++ b/llvm/unittests/Support/DynamicLibrary/PipSqueak.cxx
@@ -9,7 +9,7 @@
#include "PipSqueak.h"
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__GNUC__)
// Disable warnings from inclusion of xlocale & exception
#pragma warning(push)
#pragma warning(disable: 4530)
OpenPOWER on IntegriCloud