From: Frederich Munch Date: Thu, 27 Apr 2017 18:05:29 +0000 (+0000) Subject: Limit disabling of warnings emitted from r301571 by checking __GNUC__. X-Git-Tag: llvmorg-5.0.0-rc1~6493 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ba085563c9ae28a19a60a3c06b28364bf6c2370;p=platform%2Fupstream%2Fllvm.git Limit disabling of warnings emitted from r301571 by checking __GNUC__. llvm-svn: 301572 --- diff --git a/llvm/unittests/Support/DynamicLibrary/PipSqueak.cxx b/llvm/unittests/Support/DynamicLibrary/PipSqueak.cxx index c54de67..d1cf7c0 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)