summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-02-13 20:00:47 +0100
committerDiego Biurrun <diego@biurrun.de>2013-02-14 17:37:42 +0100
commit759a3a2177830f102a37099456ded6905adb55ce (patch)
treea5535990171a5fe98dc733e1294c02c0e17c81b2
parentab441e20ffdfa2547f1d6c1dc19994ec05eb7d2f (diff)
configure: Move MinGW CPPFLAGS setting to libc section, where it belongs
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 453d25c163..f65c53f179 100755
--- a/configure
+++ b/configure
@@ -2915,7 +2915,6 @@ case $target_os in
dlltool="${cross_prefix}dlltool"
ranlib=:
enable dos_paths
- add_cppflags -U__STRICT_ANSI__
;;
win32|win64)
if enabled shared; then
@@ -3057,6 +3056,7 @@ elif check_header _mingw.h; then
"defined (__MINGW64_VERSION_MAJOR) || (__MINGW32_MAJOR_VERSION > 3) || \
(__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 15)" ||
die "ERROR: MinGW runtime version must be >= 3.15."
+ add_cppflags -U__STRICT_ANSI__
elif check_func_headers stdlib.h _get_doserrno; then
libc_type=msvcrt
add_compat strtod.o strtod=avpriv_strtod