diff --git a/unittests/Support/DynamicLibrary/PipSqueak.cxx b/unittests/Support/DynamicLibrary/PipSqueak.cxx index 1de85236a88..c54de6759dc 100644 --- a/unittests/Support/DynamicLibrary/PipSqueak.cxx +++ b/unittests/Support/DynamicLibrary/PipSqueak.cxx @@ -8,7 +8,17 @@ //===----------------------------------------------------------------------===// #include "PipSqueak.h" + +#ifdef _WIN32 +// Disable warnings from inclusion of xlocale & exception +#pragma warning(push) +#pragma warning(disable: 4530) +#pragma warning(disable: 4577) #include +#pragma warning(pop) +#else +#include +#endif struct Global { std::string *Str;