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/rpcndr.h b/mingw-w64-headers/include/rpcndr.h
index e876e84..c55ade4 100644
--- a/mingw-w64-headers/include/rpcndr.h
+++ b/mingw-w64-headers/include/rpcndr.h
@@ -105,8 +105,11 @@
#define midl_user_free MIDL_user_free
#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
#define RPC_VAR_ENTRY __cdecl