1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 08:12:17 +00:00

configure: fix directx check on Cygwin

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.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34953 b3059339-0415-0410-9bf9-f77b7e298cf2
Author: al
This commit is contained in:
mplayer-svn 2012-05-21 20:08:01 +00:00 committed by wm4
parent 063f368398
commit 772d93c81a

1
configure vendored
View File

@ -2703,6 +2703,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; }