Commit 782d48c3 authored by James Almer's avatar James Almer Committed by Derek Buitenhuis

configure: remove redundant definition of __USE_MINGW_ANSI_STDIO

No need to define it twice on mingw-w64 >= v3.
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
Signed-off-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parent 0c23ee13
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment