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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun May 13 14:48:20 CEST 2012


The "recommended", wine-based ddraw.h header I believe does not have that problem, but the change is fine by me.

On 12 May 2012, at 21:35, Alexander Strasser <eclipse7 at gmx.net> wrote:

>  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
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng


More information about the MPlayer-dev-eng mailing list