{ check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; }
;;
mingw32*)
- # Adding _WIN32_WINNT=0x0501 makes functions that require
- # XP visible and thus may make it binary incompatible with
- # earlier versions. Set --target-os=mingw32-prexp if this
- # isn't desired.
- test $target_os = "mingw32" && add_cflags -D_WIN32_WINNT=0x0501
if test $target_os = "mingw32ce"; then
disable network
else
network_extralibs="-lws2" || \
{ check_func_headers winsock2.h closesocket -lws2_32 && \
network_extralibs="-lws2_32"; }
- # getaddrinfo is available if _WIN32_WINNT >= 0x0501 is defined
- check_func_headers ws2tcpip.h getaddrinfo $network_extralibs
check_type ws2tcpip.h socklen_t
check_type ws2tcpip.h "struct addrinfo"
check_type ws2tcpip.h "struct ipv6_mreq"
./configure --target-os=mingw32 --enable-memalign-hack --enable-shared --disable-static --extra-cflags=-mno-cygwin --extra-libs=-mno-cygwin
@end example
-@subsection Win9x/Win2000 support
-
-FFmpeg is built by default for Windows XP and above. To run it on any Windows
-version prior to XP, you must use @code{--target-os=mingw32-prexp}.
-Additionally, for Windows 98/Me you must install KernelEx from:
-http://sourceforge.net/projects/kernelex/
-
@section BeOS
BeOS support is broken in mysterious ways.