From 0b53d363d4a5efe2e407acc6610cc83f6404f1b7 Mon Sep 17 00:00:00 2001 From: voroshil Date: Sun, 25 Feb 2007 14:59:53 +0000 Subject: [PATCH] Replace __MINGW32__ by more consistent WIN32_LOADER. This should fix compilation under cygwin. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22343 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/com.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/loader/com.h b/loader/com.h index 5f8e43925d..316538479a 100644 --- a/loader/com.h +++ b/loader/com.h @@ -74,8 +74,7 @@ struct IClassFactory struct IClassFactory_vt* vt; }; -#if !defined(__MINGW32__) -//need proper ifdef to check Co* functions availability +#ifdef WIN32_LOADER long CoCreateInstance(GUID* rclsid, struct IUnknown* pUnkOuter, long dwClsContext, const GUID* riid, void** ppv); void* CoTaskMemAlloc(unsigned long cb);