mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 00:42:57 +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:
parent
063f368398
commit
772d93c81a
1
configure
vendored
1
configure
vendored
@ -2703,6 +2703,7 @@ echores "$_direct3d"
|
|||||||
echocheck "Directx"
|
echocheck "Directx"
|
||||||
if test "$_directx" = auto ; then
|
if test "$_directx" = auto ; then
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
|
#include <windows.h>
|
||||||
#include <ddraw.h>
|
#include <ddraw.h>
|
||||||
#include <dsound.h>
|
#include <dsound.h>
|
||||||
int main(void) { return 0; }
|
int main(void) { return 0; }
|
||||||
|
Loading…
Reference in New Issue
Block a user