2009-08-18 Kai Tietz <kai.tietz@onevision.com>
Guard __RPC_API MIDL_user_allocate and __RPC_API MIDL_user_free
by __MIDL_user_allocate_free_DEFINED__ macro to prevent gcc warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@1176 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/include/comsvcs.h b/mingw-w64-headers/include/comsvcs.h
index d3c4ac9..006092b 100644
--- a/mingw-w64-headers/include/comsvcs.h
+++ b/mingw-w64-headers/include/comsvcs.h
@@ -865,8 +865,11 @@
extern "C"{
#endif
+#ifndef __MIDL_user_allocate_free_DEFINED__
+#define __MIDL_user_allocate_free_DEFINED__
void *__RPC_API MIDL_user_allocate(size_t);
void __RPC_API MIDL_user_free(void *);
+#endif
#include <objbase.h>