[MPlayer-cvslog] r34953 - trunk/configure

al subversion at mplayerhq.hu
Mon May 21 22:08:01 CEST 2012


Author: al
Date: Mon May 21 22:08:01 2012
New Revision: 34953

Log:
build: Fix vo directx configure check on Cygwin

  Without windows.h included syntax errors will
arise inside (some versions of) the ddraw.h header.

  The wine-based ddraw.h header was reported to not
have this problems.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Mon May 21 22:00:03 2012	(r34952)
+++ trunk/configure	Mon May 21 22:08:01 2012	(r34953)
@@ -5277,6 +5277,7 @@ echores "$_direct3d"
 echocheck "Directx"
 if test "$_directx" = auto ; then
   cat > $TMPC << EOF
+#include <windows.h>
 #include <ddraw.h>
 #include <dsound.h>
 int main(void) { return 0; }


More information about the MPlayer-cvslog mailing list