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/control.h b/mingw-w64-headers/include/control.h
index b6c711c..836be01 100644
--- a/mingw-w64-headers/include/control.h
+++ b/mingw-w64-headers/include/control.h
@@ -111,8 +111,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
#ifndef __QuartzTypeLib_LIBRARY_DEFINED__
#define __QuartzTypeLib_LIBRARY_DEFINED__