summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2013-04-20 17:54:51 -0400
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2013-06-22 16:37:40 -0400
commit8bdbabfaa46989b1a0e82d2df0a27df32277294d (patch)
tree62b98a09379422d04815ed9c34ff0703f063ea1e /configure
parent37c7a8be19e219f24e10218ec12f76a9ab1db0e2 (diff)
configure: Enable MinGW-w64's implementation of vsnprintf and pals
As of r5799 in MinGW-w64's trunk, which is he upcoming major version 3, the POSIX-compliant vsnprintf implementation is disabled by default. Enable it for this version. Keep using out own implementation for prior versions, because it is broken in them. Relevant Reference Thread: http://article.gmane.org/gmane.comp.gnu.mingw.w64.general/7133 Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 4e1d32e8ce..c29c220422 100755
--- a/configure
+++ b/configure
@@ -3627,6 +3627,8 @@ elif check_header _mingw.h; then
__MINGW64_VERSION_MAJOR < 3"; then
add_compat msvcrt/snprintf.o
add_cflags "-include $source_path/compat/msvcrt/snprintf.h"
+ else
+ add_cppflags -D__USE_MINGW_ANSI_STDIO=1
fi
elif check_func_headers stdlib.h _get_doserrno; then
libc_type=msvcrt