changeset 22325:12afc06c044e

Replace __MINGW32__ by more consistent WIN32_LOADER. This should fix compilation under cygwin.
author voroshil
date Sun, 25 Feb 2007 14:59:53 +0000
parents 475c60dcd459
children fcfcb09762df
files loader/com.h
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/loader/com.h	Sun Feb 25 14:35:53 2007 +0000
+++ b/loader/com.h	Sun Feb 25 14:59:53 2007 +0000
@@ -74,8 +74,7 @@
     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);