Fixup d38a656f41 , use WIN32 instead of GNUWIN32

This commit is contained in:
Charles Dang 2015-01-04 17:09:28 +11:00
parent d38a656f41
commit 3f40d2f6e7

View file

@ -44,7 +44,7 @@
#include <boost/bind.hpp>
#include <boost/function.hpp>
#if defined(__GNUC__) && !defined(__clang__) && !defined(__GNUWIN32__) // We only want this for gcc, not clang or tdm-gcc
#if defined(__GNUC__) && !defined(__clang__) && !defined(__WIN32__) // We only want this for gcc, not clang or tdm-gcc
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ <= 7 )
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" //Suppress uninitialized variables warnings on GCC <= 4.7.x
#endif