Diego Biurrun <diego@...> writes:

> -elif check_header _mingw.h; then
> -    libc_type=mingw
> -    check_cpp_condition _mingw.h \
> -        "defined (__MINGW64_VERSION_MAJOR) || (__MINGW32_MAJOR_VERSION > 3) 
|| \

> +elif check_cpp_condition _mingw.h "defined __MINGW64_VERSION"; then

Why don't you check __MINGW64_VERSION_MAJOR?

> +    libc_type=mingw64
> +    add_cppflags -U__STRICT_ANSI__

> +elif check_cpp_condition _mingw.h "defined __MINGW32_VERSION"; then

These 2 macros are never defined (__MINGW*_VERSION). See
http://sourceforge.net/p/predef/wiki/Compilers/#mingw-and-mingw-w64

[...]

Timothy

P.S. Gmane needs me prune quoted stuff so sorry if it causes any inconvenience

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to