[MPlayer-cygwin] [PATCH] live.com on mingw

Diego Biurrun diego at biurrun.de
Mon May 3 13:37:20 CEST 2004


Joey Parrish writes:
> List: Please test with these latest versions, and write back whether it
>       works or not on your system.

I wanted to test, but unfortunately live.com (2004-05-02) does not
compile for me atm.  The patch looks safe to commit, though.  Sascha,
what do you say?

> @@ -4975,6 +4975,10 @@
>  LIVE_LIBS += \$(LIVE_LIB_DIR)/UsageEnvironment/libUsageEnvironment.a
>  LIVE_LIBS += \$(LIVE_LIB_DIR)/BasicUsageEnvironment/libBasicUsageEnvironment.a
>  LIVE_LIBS += -lstdc++"
> +  if mingw32 ; then
> +    _live_libs_def="$_live_libs_def
> +LIVE_LIBS += -lws2_32"
> +  fi

I'd keep the indentation..

> +// on mingw, we must include windows.h before the things it conflicts

> +#define _OLE2_H // to avoid conflict on mingw

> +#ifndef _WINDEF_H // this file conflicts with windef.h on mingw32

My nitpicky self would always write MinGW for consistency reasons.

Diego




More information about the MPlayer-cygwin mailing list