[MPlayer-cvslog] r38240 - trunk/configure
reimar
subversion at mplayerhq.hu
Mon Jan 25 21:10:27 EET 2021
Author: reimar
Date: Mon Jan 25 21:10:27 2021
New Revision: 38240
Log:
configure: Fix FFmpeg on MinGW compilation.
FFmpeg depends on CancelIoEx which means we need to define
_WIN32_WINNT=0x0600, which results in pollfd being defined,
so needs to happen before that check.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Mon Jan 25 21:10:25 2021 (r38239)
+++ trunk/configure Mon Jan 25 21:10:27 2021 (r38240)
@@ -3594,6 +3594,11 @@ else
fi
echores "$_nanosleep"
+echocheck "windows.h"
+windows_h=no
+def_windows_h='#define HAVE_WINDOWS_H 0'
+header_check windows.h && windows_h=yes && def_windows_h='#define HAVE_WINDOWS_H 1' && extra_cflags="$extra_cflags -D_WIN32_WINNT=0x0600"
+echores "$windows_h"
echocheck "socklib"
# for Solaris (socket stuff is in -lsocket, gethostbyname and friends in -lnsl):
@@ -4218,12 +4223,6 @@ else
_threads=no
fi
-echocheck "windows.h"
-windows_h=no
-def_windows_h='#define HAVE_WINDOWS_H 0'
-header_check windows.h && windows_h=yes && def_windows_h='#define HAVE_WINDOWS_H 1'
-echores "$windows_h"
-
echocheck "io.h"
_io_h=no
More information about the MPlayer-cvslog
mailing list