[MPlayer-dev-eng] [PATCH 1/2] build: Fix vo directx compilation on Cygwin

Alexander Strasser eclipse7 at gmx.net
Sat May 12 21:35:08 CEST 2012


  Without windows.h included syntax errors will
arise inside the ddraw.h header.
---
 configure |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 1afb4c1..13e1683 100755
--- a/configure
+++ b/configure
@@ -5252,6 +5252,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; }
-- 
1.7.5.4


More information about the MPlayer-dev-eng mailing list