diff --git a/compat/snprintf.c b/compat/snprintf.c index 7d780508a7..6c0fb056a5 100644 --- a/compat/snprintf.c +++ b/compat/snprintf.c @@ -6,7 +6,7 @@ * number of characters to write without the trailing NUL. */ #ifndef SNPRINTF_SIZE_CORR -#if defined(__MINGW32__) && defined(__GNUC__) && __GNUC__ < 3 +#if defined(__MINGW32__) && defined(__GNUC__) && __GNUC__ < 4 #define SNPRINTF_SIZE_CORR 1 #else #define SNPRINTF_SIZE_CORR 0