Browse Source

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>
tags/n2.2-rc1
James Almer Derek Buitenhuis 11 years ago
parent
commit
782d48c3c1
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      configure

+ 0
- 2
configure View File

@@ -3853,8 +3853,6 @@ probe_libc(){
if check_${pfx}cpp_condition _mingw.h "__MINGW64_VERSION_MAJOR < 3"; then if check_${pfx}cpp_condition _mingw.h "__MINGW64_VERSION_MAJOR < 3"; then
add_compat msvcrt/snprintf.o add_compat msvcrt/snprintf.o
add_cflags "-include $source_path/compat/msvcrt/snprintf.h" add_cflags "-include $source_path/compat/msvcrt/snprintf.h"
else
add_${pfx}cppflags -D__USE_MINGW_ANSI_STDIO=1
fi fi
add_${pfx}cppflags -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1 add_${pfx}cppflags -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1
elif check_${pfx}cpp_condition _mingw.h "defined __MINGW32_VERSION"; then elif check_${pfx}cpp_condition _mingw.h "defined __MINGW32_VERSION"; then


Loading…
Cancel
Save