configure: Fix 10l in 5ae9fa13f5ac640bec113120d540f70971aa635d
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Tue, 25 Sep 2012 22:21:14 +0000 (18:21 -0400)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Tue, 25 Sep 2012 22:21:53 +0000 (18:21 -0400)
Wrong version of the patch was pushed. MinGW32 supports vsnprint properly.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
configure

index 5c60b01..d2d3a66 100755 (executable)
--- a/configure
+++ b/configure
@@ -3195,8 +3195,7 @@ elif check_header _mingw.h; then
         "defined (__MINGW64_VERSION_MAJOR) || (__MINGW32_MAJOR_VERSION > 3) || \
             (__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 15)" ||
         die "ERROR: MinGW runtime version must be >= 3.15."
-    if check_cpp_condition _mingw.h \
-        "(defined(__MINGW32_MAJOR_VERSION) && !defined(__MINGW64_VERSION_MAJOR)) || \
+    if check_cpp_condition _mingw.h "defined(__MINGW64_VERSION_MAJOR) && \
             __MINGW64_VERSION_MAJOR < 3"; then
         enable broken_snprintf
         add_cflags "-include $source_path/compat/msvcrt/snprintf.h"