From d38a656f41d12de5cb80e43ddebe0638f144fbfc Mon Sep 17 00:00:00 2001 From: Chris Beck Date: Sun, 4 Jan 2015 00:53:52 -0500 Subject: [PATCH] xBRZ: try to fix a compiler warning on tdm-gcc --- src/xBRZ/xbrz.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/xBRZ/xbrz.cpp b/src/xBRZ/xbrz.cpp index 9fa1a8c9132..94c4b556ccf 100644 --- a/src/xBRZ/xbrz.cpp +++ b/src/xBRZ/xbrz.cpp @@ -44,13 +44,11 @@ #include #include -#ifdef __GNUC__ -#ifndef __clang__ +#if defined(__GNUC__) && !defined(__clang__) && !defined(__GNUWIN32__) // 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 #endif -#endif namespace {