]> git.sesse.net Git - ffmpeg/commitdiff
configure: remove redundant definition of __USE_MINGW_ANSI_STDIO
authorJames Almer <jamrial@gmail.com>
Fri, 13 Dec 2013 19:14:20 +0000 (16:14 -0300)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Fri, 13 Dec 2013 19:36:37 +0000 (14:36 -0500)
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>
configure

index 9dcda39215d218c631e69f9cc15d0a1b010537cc..f36d6f7f1328c24efc4324eb439390b55f43f30e 100755 (executable)
--- 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