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-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb41cb2e32f39a01fa9ddaab6603dc19e41b98dd;p=llvm Limit disabling of warnings emitted from r301571 by checking __GNUC__. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301572 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/Support/DynamicLibrary/PipSqueak.cxx b/unittests/Support/DynamicLibrary/PipSqueak.cxx index c54de6759dc..d1cf7c042b7 100644 --- a/unittests/Support/DynamicLibrary/PipSqueak.cxx +++ b/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)