diff options
author | mplayer-svn <svn@mplayerhq.hu> | 2012-05-21 20:08:01 +0000 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-08-03 03:34:38 +0200 |
commit | 772d93c81ae3086d8db42cd1847bdb337fa9c28f (patch) | |
tree | b69c8c3209e1d9a5f72f87fe7fd810637c9ae330 /configure | |
parent | 063f368398aeeb0cfc94ed4e47acbd012fd25100 (diff) | |
download | mpv-772d93c81ae3086d8db42cd1847bdb337fa9c28f.tar.bz2 mpv-772d93c81ae3086d8db42cd1847bdb337fa9c28f.tar.xz |
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
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |