summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2012-09-25 18:21:14 -0400
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2012-09-25 18:21:53 -0400
commit7133d2542551548a575155791d9f8bf7cfb89513 (patch)
tree08561d04e665535db2fd9cd89886bd7eb663ccc5 /configure
parent5ae9fa13f5ac640bec113120d540f70971aa635d (diff)
configure: Fix 10l in 5ae9fa13f5ac640bec113120d540f70971aa635d
Wrong version of the patch was pushed. MinGW32 supports vsnprint properly. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index 5c60b01d53..d2d3a66574 100755
--- 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"