Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gmail.com>2011-03-24 14:18:35 +0300
committerLuca Barbato <lu_zero@gentoo.org>2011-03-25 01:45:55 +0300
commit5666a9f20c6ef2b207e0517c8eeb9556badf76a3 (patch)
tree5fa1209e83185c9997ac2e3d4cf99ae2b60b3515 /configure
parentd743065e18c19b63591a5e3eb9aa8aeeeaefdb37 (diff)
When building for MinGW32 disable strict ANSI compliancy.
When -std=c99 is used, GCC defines __STRICT_ANSI__ to hide non-ANSI interfaces; on MinGW32, when this macro is defined, some functions that are part of POSIX but not of Windows APIs are disabled, including strcasecmp(). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 38fd46074c..9b5d8552ce 100755
--- a/configure
+++ b/configure
@@ -2428,6 +2428,7 @@ case $target_os in
check_cpp_condition _mingw.h "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__
;;
cygwin*)
target_os=cygwin