summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2013-12-13 16:14:20 -0300
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2013-12-13 14:36:37 -0500
commit782d48c3c1260c1e78ee3b1d7be9142d1273f6f0 (patch)
tree70a89936774a72c748c0c8138f0ca01e56885ac7 /configure
parent0c23ee131257403332d4d06113473241f14d1010 (diff)
configure: remove redundant definition of __USE_MINGW_ANSI_STDIO
No need to define it twice on mingw-w64 >= v3. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 0 insertions, 2 deletions
diff --git a/configure b/configure
index 9dcda39215..f36d6f7f13 100755
--- a/configure
+++ b/configure
@@ -3853,8 +3853,6 @@ probe_libc(){
if check_${pfx}cpp_condition _mingw.h "__MINGW64_VERSION_MAJOR < 3"; then
add_compat msvcrt/snprintf.o
add_cflags "-include $source_path/compat/msvcrt/snprintf.h"
- else
- add_${pfx}cppflags -D__USE_MINGW_ANSI_STDIO=1
fi
add_${pfx}cppflags -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1
elif check_${pfx}cpp_condition _mingw.h "defined __MINGW32_VERSION"; then