mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
510ccabfc2
commit
0b53d363d4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue