[MPlayer-dev-eng] [PATCH] Check for windows.h
Josh
joshf87 at live.com
Tue Jan 8 17:30:02 CET 2013
On 1/8/2013 06:55, Erik Auerswald wrote:
> def_windows_h='#define HAVE_WINDOWS_H 0'
The follow would fall more in line with the rest of the configure script.
-------------- next part --------------
Index: configure
===================================================================
--- configure (revision 35715)
+++ configure (working copy)
@@ -3778,6 +3778,15 @@
def_io_h='#define HAVE_IO_H 0'
fi
echores "$_io_h"
+echocheck "windows.h"
+_windows_h=no
+header_check windows.h && _windows_h=yes
+if [ $_io_h = yes ]; then
+ def_windows_h='#define HAVE_WINDOWS_H 1'
+else
+ def_windows_h='#define HAVE_WINDOWS_H 0'
+fi
+echores "$_windows_h"
fi #if win32; then
@@ -9051,6 +9060,7 @@
$def_xvid_lavc
$def_direct_h
$def_io_h
+$def_windows_h
$(ff_config_enable "$libavdecoders_all" "$libavdecoders" "#")
$(ff_config_enable "$libavencoders_all" "$libavencoders" "#")
More information about the MPlayer-dev-eng
mailing list