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/ChangeLog b/mingw-w64-headers/include/ChangeLog
index 4211a56..83da39d 100644
--- a/mingw-w64-headers/include/ChangeLog
+++ b/mingw-w64-headers/include/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2009-08-17 Kai Tietz <kai.tietz@oenvision.com>
* io.h (_POSIX): Invert logic about !defined(_POSIX) and _POSIX
diff --git a/mingw-w64-headers/include/activscp.h b/mingw-w64-headers/include/activscp.h
index fac215c..c0af7d5 100644
--- a/mingw-w64-headers/include/activscp.h
+++ b/mingw-w64-headers/include/activscp.h
@@ -148,8 +148,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 __ActivScp_h
#define __ActivScp_h
diff --git a/mingw-w64-headers/include/admex.h b/mingw-w64-headers/include/admex.h
index 52e79a5..7418507 100644
--- a/mingw-w64-headers/include/admex.h
+++ b/mingw-w64-headers/include/admex.h
@@ -40,8 +40,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 _ADMEX_IADM_
#define _ADMEX_IADM_
diff --git a/mingw-w64-headers/include/adoctint.h b/mingw-w64-headers/include/adoctint.h
index b18dbf0..67d9b5a 100644
--- a/mingw-w64-headers/include/adoctint.h
+++ b/mingw-w64-headers/include/adoctint.h
@@ -171,8 +171,12 @@
#ifdef __cplusplus
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
typedef enum RuleEnum {
adRINone = 0,adRICascade = 1,adRISetNull = 2,adRISetDefault = 3
diff --git a/mingw-w64-headers/include/adoint.h b/mingw-w64-headers/include/adoint.h
index 35b7668..dc4c188 100644
--- a/mingw-w64-headers/include/adoint.h
+++ b/mingw-w64-headers/include/adoint.h
@@ -211,8 +211,12 @@
#ifdef __cplusplus
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
#ifdef _WIN64
typedef LONGLONG ADO_LONGPTR;
diff --git a/mingw-w64-headers/include/adojet.h b/mingw-w64-headers/include/adojet.h
index 30dcd4c..0e01d0d 100644
--- a/mingw-w64-headers/include/adojet.h
+++ b/mingw-w64-headers/include/adojet.h
@@ -57,8 +57,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
extern RPC_IF_HANDLE __MIDL_itf_adojet_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_adojet_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/adomd.h b/mingw-w64-headers/include/adomd.h
index 10fcd06..5933288 100644
--- a/mingw-w64-headers/include/adomd.h
+++ b/mingw-w64-headers/include/adomd.h
@@ -132,8 +132,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
extern RPC_IF_HANDLE __MIDL_itf_adomd_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_adomd_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/agtctl.h b/mingw-w64-headers/include/agtctl.h
index eaeb3ca..b6d77b6 100644
--- a/mingw-w64-headers/include/agtctl.h
+++ b/mingw-w64-headers/include/agtctl.h
@@ -229,8 +229,11 @@
#include "oaidl.h"
#include "ocidl.h"
+#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 RequestSuccess (0)
#define RequestFailed (1)
diff --git a/mingw-w64-headers/include/agtsvr.h b/mingw-w64-headers/include/agtsvr.h
index d27848a..fd95aeb 100644
--- a/mingw-w64-headers/include/agtsvr.h
+++ b/mingw-w64-headers/include/agtsvr.h
@@ -233,8 +233,11 @@
#include "oaidl.h"
#include "ocidl.h"
+#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 NeverMoved (0)
#define UserMoved (1)
diff --git a/mingw-w64-headers/include/asptlb.h b/mingw-w64-headers/include/asptlb.h
index a236054..3f47d6c 100644
--- a/mingw-w64-headers/include/asptlb.h
+++ b/mingw-w64-headers/include/asptlb.h
@@ -131,8 +131,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 __ASPTypeLibrary_LIBRARY_DEFINED__
#define __ASPTypeLibrary_LIBRARY_DEFINED__
diff --git a/mingw-w64-headers/include/azroles.h b/mingw-w64-headers/include/azroles.h
index db6f30d..1aa4469 100644
--- a/mingw-w64-headers/include/azroles.h
+++ b/mingw-w64-headers/include/azroles.h
@@ -137,8 +137,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
DEFINE_GUID(IID_IAzAuthorizationStore,0xedbd9ca9,0x9b82,0x4f6a,0x9e,0x8b,0x98,0x30,0x1e,0x45,0x0f,0x14);
DEFINE_GUID(IID_IAzAuthorizationStore2,0xb11e5584,0xd577,0x4273,0xb6,0xc5,0x9,0x73,0xe0,0xf8,0xe8,0xd);
diff --git a/mingw-w64-headers/include/bidispl.h b/mingw-w64-headers/include/bidispl.h
index a0f977b..bd64ce1 100644
--- a/mingw-w64-headers/include/bidispl.h
+++ b/mingw-w64-headers/include/bidispl.h
@@ -70,8 +70,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 __IBidiRequest_INTERFACE_DEFINED__
#define __IBidiRequest_INTERFACE_DEFINED__
diff --git a/mingw-w64-headers/include/bits.h b/mingw-w64-headers/include/bits.h
index b41fce3..f6d75fe 100644
--- a/mingw-w64-headers/include/bits.h
+++ b/mingw-w64-headers/include/bits.h
@@ -83,8 +83,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 "bitsmsg.h"
#define BG_SIZE_UNKNOWN (UINT64)(-1)
diff --git a/mingw-w64-headers/include/bits1_5.h b/mingw-w64-headers/include/bits1_5.h
index b26db0d..6db76b8 100644
--- a/mingw-w64-headers/include/bits1_5.h
+++ b/mingw-w64-headers/include/bits1_5.h
@@ -47,8 +47,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 __IBackgroundCopyJob2_INTERFACE_DEFINED__
#define __IBackgroundCopyJob2_INTERFACE_DEFINED__
diff --git a/mingw-w64-headers/include/bits2_0.h b/mingw-w64-headers/include/bits2_0.h
index 977cfeb..1abacd6 100644
--- a/mingw-w64-headers/include/bits2_0.h
+++ b/mingw-w64-headers/include/bits2_0.h
@@ -52,8 +52,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
#define BG_LENGTH_TO_EOF (UINT64)(-1)
typedef struct _BG_FILE_RANGE {
diff --git a/mingw-w64-headers/include/bitscfg.h b/mingw-w64-headers/include/bitscfg.h
index 56c1388..5e27c94 100644
--- a/mingw-w64-headers/include/bitscfg.h
+++ b/mingw-w64-headers/include/bitscfg.h
@@ -49,8 +49,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 __IBITSExtensionSetup_INTERFACE_DEFINED__
#define __IBITSExtensionSetup_INTERFACE_DEFINED__
diff --git a/mingw-w64-headers/include/callobj.h b/mingw-w64-headers/include/callobj.h
index b8c33c0..d8526fd 100644
--- a/mingw-w64-headers/include/callobj.h
+++ b/mingw-w64-headers/include/callobj.h
@@ -63,8 +63,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
extern RPC_IF_HANDLE __MIDL_itf_callobj_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_callobj_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/cdoex.h b/mingw-w64-headers/include/cdoex.h
index ded508a..ce71336 100644
--- a/mingw-w64-headers/include/cdoex.h
+++ b/mingw-w64-headers/include/cdoex.h
@@ -370,8 +370,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
typedef enum CdoAttendeeRoleValues {
cdoRequiredParticipant = 0,cdoOptionalParticipant = 1,cdoNonParticipant = 2,cdoChair = 3
diff --git a/mingw-w64-headers/include/cdoexm.h b/mingw-w64-headers/include/cdoexm.h
index 2422a25..a7687ca 100644
--- a/mingw-w64-headers/include/cdoexm.h
+++ b/mingw-w64-headers/include/cdoexm.h
@@ -117,8 +117,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 NO_CDOEX_H
#define CDO_NO_NAMESPACE
diff --git a/mingw-w64-headers/include/cdonts.h b/mingw-w64-headers/include/cdonts.h
index 7a78fc5..5b265d1 100644
--- a/mingw-w64-headers/include/cdonts.h
+++ b/mingw-w64-headers/include/cdonts.h
@@ -137,8 +137,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
typedef enum CdoErrorType {
CdoE_CALL_FAILED = 0x80004005,CdoE_NOT_ENOUGH_MEMORY = 0x8007000e,CdoE_INVALID_PARAMETER = 0x80070057,CdoE_INTERFACE_NOT_SUPPORTED = 0x80004002,
diff --git a/mingw-w64-headers/include/cdosys.h b/mingw-w64-headers/include/cdosys.h
index 3547c56..4db558e 100644
--- a/mingw-w64-headers/include/cdosys.h
+++ b/mingw-w64-headers/include/cdosys.h
@@ -213,8 +213,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
typedef enum CdoConfigSource {
cdoDefaults = -1,cdoIIS = 1,cdoOutlookExpress = 2
diff --git a/mingw-w64-headers/include/certadm.h b/mingw-w64-headers/include/certadm.h
index 5684afd..ed1c7ce 100644
--- a/mingw-w64-headers/include/certadm.h
+++ b/mingw-w64-headers/include/certadm.h
@@ -57,8 +57,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
#define CA_DISP_INCOMPLETE (0)
#define CA_DISP_ERROR (0x1)
diff --git a/mingw-w64-headers/include/certbase.h b/mingw-w64-headers/include/certbase.h
index d7140ee..3fbd2d0 100644
--- a/mingw-w64-headers/include/certbase.h
+++ b/mingw-w64-headers/include/certbase.h
@@ -23,8 +23,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
typedef struct _CERTTRANSBLOB {
unsigned long cb;
diff --git a/mingw-w64-headers/include/certcli.h b/mingw-w64-headers/include/certcli.h
index 5c94131..8290bcc 100644
--- a/mingw-w64-headers/include/certcli.h
+++ b/mingw-w64-headers/include/certcli.h
@@ -99,8 +99,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 __ICertGetConfig_INTERFACE_DEFINED__
#define __ICertGetConfig_INTERFACE_DEFINED__
diff --git a/mingw-w64-headers/include/certenc.h b/mingw-w64-headers/include/certenc.h
index 8c55c3a..1e7d710 100644
--- a/mingw-w64-headers/include/certenc.h
+++ b/mingw-w64-headers/include/certenc.h
@@ -114,8 +114,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 __ICertEncodeStringArray_INTERFACE_DEFINED__
#define __ICertEncodeStringArray_INTERFACE_DEFINED__
diff --git a/mingw-w64-headers/include/certexit.h b/mingw-w64-headers/include/certexit.h
index 26d8663..f84f9ec 100644
--- a/mingw-w64-headers/include/certexit.h
+++ b/mingw-w64-headers/include/certexit.h
@@ -39,8 +39,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
#define EXITEVENT_INVALID (0x0)
#define EXITEVENT_CERTISSUED (0x1)
diff --git a/mingw-w64-headers/include/certif.h b/mingw-w64-headers/include/certif.h
index 2693626..bc2ee8d 100644
--- a/mingw-w64-headers/include/certif.h
+++ b/mingw-w64-headers/include/certif.h
@@ -39,8 +39,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
#define ENUMEXT_OBJECTID (0x1)
diff --git a/mingw-w64-headers/include/certmod.h b/mingw-w64-headers/include/certmod.h
index d8a527a..3118702 100644
--- a/mingw-w64-headers/include/certmod.h
+++ b/mingw-w64-headers/include/certmod.h
@@ -34,8 +34,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
#define CMM_REFRESHONLY (0x1)
#define CMM_READONLY (0x2)
diff --git a/mingw-w64-headers/include/certpol.h b/mingw-w64-headers/include/certpol.h
index f08d3ed..76345b2 100644
--- a/mingw-w64-headers/include/certpol.h
+++ b/mingw-w64-headers/include/certpol.h
@@ -39,8 +39,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 __ICertPolicy_INTERFACE_DEFINED__
#define __ICertPolicy_INTERFACE_DEFINED__
diff --git a/mingw-w64-headers/include/certreqd.h b/mingw-w64-headers/include/certreqd.h
index 27564ed..0a38d6f 100644
--- a/mingw-w64-headers/include/certreqd.h
+++ b/mingw-w64-headers/include/certreqd.h
@@ -39,8 +39,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 __ICertRequestD_INTERFACE_DEFINED__
#define __ICertRequestD_INTERFACE_DEFINED__
diff --git a/mingw-w64-headers/include/certview.h b/mingw-w64-headers/include/certview.h
index e39c8b6..7c01109 100644
--- a/mingw-w64-headers/include/certview.h
+++ b/mingw-w64-headers/include/certview.h
@@ -59,8 +59,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
#define CV_OUT_BASE64HEADER (0)
#define CV_OUT_BASE64 (0x1)
diff --git a/mingw-w64-headers/include/chanmgr.h b/mingw-w64-headers/include/chanmgr.h
index 3c07d59..8481bb0 100644
--- a/mingw-w64-headers/include/chanmgr.h
+++ b/mingw-w64-headers/include/chanmgr.h
@@ -42,8 +42,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
extern RPC_IF_HANDLE __MIDL_itf_chanmgr_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_chanmgr_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/cluadmex.h b/mingw-w64-headers/include/cluadmex.h
index e7a9ac4..98dc279 100644
--- a/mingw-w64-headers/include/cluadmex.h
+++ b/mingw-w64-headers/include/cluadmex.h
@@ -114,8 +114,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
typedef enum _CLUADMEX_OBJECT_TYPE {
CLUADMEX_OT_NONE = 0,CLUADMEX_OT_CLUSTER = CLUADMEX_OT_NONE + 1,CLUADMEX_OT_NODE = CLUADMEX_OT_CLUSTER + 1,CLUADMEX_OT_GROUP = CLUADMEX_OT_NODE + 1,
diff --git a/mingw-w64-headers/include/cluscfgserver.h b/mingw-w64-headers/include/cluscfgserver.h
index a3acdc3..700698d 100644
--- a/mingw-w64-headers/include/cluscfgserver.h
+++ b/mingw-w64-headers/include/cluscfgserver.h
@@ -278,8 +278,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
typedef enum __MIDL___MIDL_itf_cluscfgserver_0000_0001 {
dluUNKNOWN = 0,dluNO_ROOT_DIRECTORY = dluUNKNOWN + 1,dluREMOVABLE_DISK = dluNO_ROOT_DIRECTORY + 1,dluFIXED_DISK = dluREMOVABLE_DISK + 1,
diff --git a/mingw-w64-headers/include/cluscfgwizard.h b/mingw-w64-headers/include/cluscfgwizard.h
index 3d5e6d0..0a683bd 100644
--- a/mingw-w64-headers/include/cluscfgwizard.h
+++ b/mingw-w64-headers/include/cluscfgwizard.h
@@ -53,8 +53,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 __ClusCfgWizard_LIBRARY_DEFINED__
#define __ClusCfgWizard_LIBRARY_DEFINED__
diff --git a/mingw-w64-headers/include/cmdtree.h b/mingw-w64-headers/include/cmdtree.h
index 9ff5534..1a1f89f 100644
--- a/mingw-w64-headers/include/cmdtree.h
+++ b/mingw-w64-headers/include/cmdtree.h
@@ -38,8 +38,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
#ifdef _WIN64
#include <pshpack8.h>
diff --git a/mingw-w64-headers/include/comadmin.h b/mingw-w64-headers/include/comadmin.h
index dd72832..d4a721d 100644
--- a/mingw-w64-headers/include/comadmin.h
+++ b/mingw-w64-headers/include/comadmin.h
@@ -76,8 +76,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>
diff --git a/mingw-w64-headers/include/comcat.h b/mingw-w64-headers/include/comcat.h
index 5538208..9d3d3ad 100644
--- a/mingw-w64-headers/include/comcat.h
+++ b/mingw-w64-headers/include/comcat.h
@@ -48,8 +48,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
EXTERN_C const CLSID CLSID_StdComponentCategoriesMgr;
diff --git a/mingw-w64-headers/include/commoncontrols.h b/mingw-w64-headers/include/commoncontrols.h
index d2bbf84..c50f8ff 100644
--- a/mingw-w64-headers/include/commoncontrols.h
+++ b/mingw-w64-headers/include/commoncontrols.h
@@ -43,8 +43,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
#define ILIF_ALPHA 0x00000001
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>
diff --git a/mingw-w64-headers/include/confpriv.h b/mingw-w64-headers/include/confpriv.h
index 999c549..22922f3 100644
--- a/mingw-w64-headers/include/confpriv.h
+++ b/mingw-w64-headers/include/confpriv.h
@@ -63,8 +63,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
typedef enum MULTICAST_LOOPBACK_MODE {
MM_NO_LOOPBACK = 0,MM_FULL_LOOPBACK = MM_NO_LOOPBACK + 1,MM_SELECTIVE_LOOPBACK = MM_FULL_LOOPBACK + 1
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__
diff --git a/mingw-w64-headers/include/ctxtcall.h b/mingw-w64-headers/include/ctxtcall.h
index 7607d8f..08097f9 100644
--- a/mingw-w64-headers/include/ctxtcall.h
+++ b/mingw-w64-headers/include/ctxtcall.h
@@ -33,8 +33,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
typedef struct tagComCallData {
DWORD dwDispid;
diff --git a/mingw-w64-headers/include/datapath.h b/mingw-w64-headers/include/datapath.h
index b2c7cfb..5a674b6 100644
--- a/mingw-w64-headers/include/datapath.h
+++ b/mingw-w64-headers/include/datapath.h
@@ -38,8 +38,11 @@
#include "olectl.h"
#include "urlmon.h"
+#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 "idispids.h"
typedef BSTR OLE_DATAPATH;
diff --git a/mingw-w64-headers/include/dbgautoattach.h b/mingw-w64-headers/include/dbgautoattach.h
index 4c88e03..b7cdaca 100644
--- a/mingw-w64-headers/include/dbgautoattach.h
+++ b/mingw-w64-headers/include/dbgautoattach.h
@@ -33,8 +33,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
DEFINE_GUID(CLSID_DebugAutoAttach,0x70f65411,0xfe8c,0x4248,0xbc,0xff,0x70,0x1c,0x8b,0x2f,0x45,0x29);
extern RPC_IF_HANDLE __MIDL_itf_dbgautoattach_0000_v0_0_c_ifspec;
diff --git a/mingw-w64-headers/include/dbgprop.h b/mingw-w64-headers/include/dbgprop.h
index 7582890..cec4a88 100644
--- a/mingw-w64-headers/include/dbgprop.h
+++ b/mingw-w64-headers/include/dbgprop.h
@@ -78,8 +78,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
typedef enum tagOBJECT_ATTRIB_FLAG {
OBJECT_ATTRIB_NO_ATTRIB = 0,OBJECT_ATTRIB_NO_NAME = 0x1,OBJECT_ATTRIB_NO_TYPE = 0x2,OBJECT_ATTRIB_NO_VALUE = 0x4,
diff --git a/mingw-w64-headers/include/dhtmled.h b/mingw-w64-headers/include/dhtmled.h
index a00cb98..deb1c3d 100644
--- a/mingw-w64-headers/include/dhtmled.h
+++ b/mingw-w64-headers/include/dhtmled.h
@@ -87,8 +87,11 @@
#include "ocidl.h"
#include "docobj.h"
+#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 DE_E_INVALIDARG E_INVALIDARG
#define DE_E_PATH_NOT_FOUND HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND)
diff --git a/mingw-w64-headers/include/dimm.h b/mingw-w64-headers/include/dimm.h
index cb9d3c1..4d190b3 100644
--- a/mingw-w64-headers/include/dimm.h
+++ b/mingw-w64-headers/include/dimm.h
@@ -73,8 +73,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
extern RPC_IF_HANDLE __MIDL_itf_dimm_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_dimm_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/dispex.h b/mingw-w64-headers/include/dispex.h
index 34cfbf4..5e6c31c 100644
--- a/mingw-w64-headers/include/dispex.h
+++ b/mingw-w64-headers/include/dispex.h
@@ -53,8 +53,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 DISPEX_H_
#define DISPEX_H_
diff --git a/mingw-w64-headers/include/docobj.h b/mingw-w64-headers/include/docobj.h
index faa8b22..42b9809 100644
--- a/mingw-w64-headers/include/docobj.h
+++ b/mingw-w64-headers/include/docobj.h
@@ -63,8 +63,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 _LPOLEDOCUMENT_DEFINED
#define _LPOLEDOCUMENT_DEFINED
diff --git a/mingw-w64-headers/include/emostore.h b/mingw-w64-headers/include/emostore.h
index 0e3ae78..4118a44 100644
--- a/mingw-w64-headers/include/emostore.h
+++ b/mingw-w64-headers/include/emostore.h
@@ -61,8 +61,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
typedef enum CDOEXMStoreDBStatus {
cdoexmOnline = 0,cdoexmOffline = 0x1,cdoexmMounting = 0x2,cdoexmDismounting = 0x3
diff --git a/mingw-w64-headers/include/emptyvc.h b/mingw-w64-headers/include/emptyvc.h
index 28b8816..1c525dd 100644
--- a/mingw-w64-headers/include/emptyvc.h
+++ b/mingw-w64-headers/include/emptyvc.h
@@ -45,8 +45,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
#define EVCF_HASSETTINGS 0x0001
#define EVCF_ENABLEBYDEFAULT 0x0002
diff --git a/mingw-w64-headers/include/eventsys.h b/mingw-w64-headers/include/eventsys.h
index 39cecf3..a93f102 100644
--- a/mingw-w64-headers/include/eventsys.h
+++ b/mingw-w64-headers/include/eventsys.h
@@ -158,8 +158,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
#define PROGID_EventSystem OLESTR("EventSystem.EventSystem")
#define PROGID_EventPublisher OLESTR("EventSystem.EventPublisher")
diff --git a/mingw-w64-headers/include/exdisp.h b/mingw-w64-headers/include/exdisp.h
index 517739a..ed4580b 100644
--- a/mingw-w64-headers/include/exdisp.h
+++ b/mingw-w64-headers/include/exdisp.h
@@ -195,8 +195,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 __SHDocVw_LIBRARY_DEFINED__
#define __SHDocVw_LIBRARY_DEFINED__
diff --git a/mingw-w64-headers/include/filter.h b/mingw-w64-headers/include/filter.h
index 089323f..0c95c1c 100644
--- a/mingw-w64-headers/include/filter.h
+++ b/mingw-w64-headers/include/filter.h
@@ -35,8 +35,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 _TAGFULLPROPSPEC_DEFINED_
#define _TAGFULLPROPSPEC_DEFINED_
diff --git a/mingw-w64-headers/include/gpmgmt.h b/mingw-w64-headers/include/gpmgmt.h
index a0fe32b..675739c 100644
--- a/mingw-w64-headers/include/gpmgmt.h
+++ b/mingw-w64-headers/include/gpmgmt.h
@@ -458,8 +458,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
typedef enum __MIDL___MIDL_itf_gpmgmt_0000_0001 {
rsopUnknown = 0,rsopPlanning = rsopUnknown + 1,rsopLogging = rsopPlanning + 1
diff --git a/mingw-w64-headers/include/h323priv.h b/mingw-w64-headers/include/h323priv.h
index ad80900..a4a61bd 100644
--- a/mingw-w64-headers/include/h323priv.h
+++ b/mingw-w64-headers/include/h323priv.h
@@ -38,8 +38,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
typedef enum H245_CAPABILITY {
HC_G711 = 0,HC_G723 = HC_G711 + 1,HC_H263QCIF = HC_G723 + 1,HC_H261QCIF = HC_H263QCIF + 1
diff --git a/mingw-w64-headers/include/hliface.h b/mingw-w64-headers/include/hliface.h
index 0a03acd..eff0ae9 100644
--- a/mingw-w64-headers/include/hliface.h
+++ b/mingw-w64-headers/include/hliface.h
@@ -21,8 +21,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 <hlink.h>
diff --git a/mingw-w64-headers/include/hlink.h b/mingw-w64-headers/include/hlink.h
index f3645bc..86f5ed1 100644
--- a/mingw-w64-headers/include/hlink.h
+++ b/mingw-w64-headers/include/hlink.h
@@ -62,8 +62,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 HLINK_H
#define HLINK_H
diff --git a/mingw-w64-headers/include/htiface.h b/mingw-w64-headers/include/htiface.h
index 005c5f7..36692cd 100644
--- a/mingw-w64-headers/include/htiface.h
+++ b/mingw-w64-headers/include/htiface.h
@@ -45,8 +45,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 _LPTARGETFRAME2_DEFINED
#include "htiframe.h"
diff --git a/mingw-w64-headers/include/htiframe.h b/mingw-w64-headers/include/htiframe.h
index a11ec77..b5a631e 100644
--- a/mingw-w64-headers/include/htiframe.h
+++ b/mingw-w64-headers/include/htiframe.h
@@ -49,8 +49,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
EXTERN_C const IID IID_ITargetFrame2;
EXTERN_C const IID IID_ITargetContainer;
diff --git a/mingw-w64-headers/include/iaccess.h b/mingw-w64-headers/include/iaccess.h
index a3a54c8..f5abaca 100644
--- a/mingw-w64-headers/include/iaccess.h
+++ b/mingw-w64-headers/include/iaccess.h
@@ -38,8 +38,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
typedef PACTRL_ACCESSW PACTRL_ACCESSW_ALLOCATE_ALL_NODES;
typedef PACTRL_AUDITW PACTRL_AUDITW_ALLOCATE_ALL_NODES;
diff --git a/mingw-w64-headers/include/iadmw.h b/mingw-w64-headers/include/iadmw.h
index 243dca3..02462fc 100644
--- a/mingw-w64-headers/include/iadmw.h
+++ b/mingw-w64-headers/include/iadmw.h
@@ -60,8 +60,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 _ADM_IADMW_
#define _ADM_IADMW_
diff --git a/mingw-w64-headers/include/iads.h b/mingw-w64-headers/include/iads.h
index 73cc4d3..da91b0c 100644
--- a/mingw-w64-headers/include/iads.h
+++ b/mingw-w64-headers/include/iads.h
@@ -581,8 +581,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 __ActiveDs_LIBRARY_DEFINED__
#define __ActiveDs_LIBRARY_DEFINED__
@@ -7070,4 +7073,4 @@
#endif
#endif
-#endif /* _IADS_H_ */
\ No newline at end of file
+#endif /* _IADS_H_ */
diff --git a/mingw-w64-headers/include/iedial.h b/mingw-w64-headers/include/iedial.h
index 5454cab..9c6bab0 100644
--- a/mingw-w64-headers/include/iedial.h
+++ b/mingw-w64-headers/include/iedial.h
@@ -44,8 +44,12 @@
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
+
extern RPC_IF_HANDLE __MIDL_itf_iedial_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_iedial_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/iiis.h b/mingw-w64-headers/include/iiis.h
index 71d6225..1baf6b7 100644
--- a/mingw-w64-headers/include/iiis.h
+++ b/mingw-w64-headers/include/iiis.h
@@ -87,8 +87,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
DEFINE_GUID(LIBID_IISOle,0x49D704A0L,0x89F7,0x11D0,0x85,0x27,0x00,0xC0,0x4F,0xD8,0xD5,0x03);
DEFINE_GUID(IID_IISBaseObject,0x4b42e390,0xe96,0x11d1,0x9c,0x3f,0x0,0xa0,0xc9,0x22,0xe7,0x3);
diff --git a/mingw-w64-headers/include/iiisext.h b/mingw-w64-headers/include/iiisext.h
index 51eab19..49f31a3 100644
--- a/mingw-w64-headers/include/iiisext.h
+++ b/mingw-w64-headers/include/iiisext.h
@@ -129,8 +129,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 __IISExt_LIBRARY_DEFINED__
#define __IISExt_LIBRARY_DEFINED__
diff --git a/mingw-w64-headers/include/iisrsta.h b/mingw-w64-headers/include/iisrsta.h
index 3376548..93e02b5 100644
--- a/mingw-w64-headers/include/iisrsta.h
+++ b/mingw-w64-headers/include/iisrsta.h
@@ -43,8 +43,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
DEFINE_GUID(IID_IIisServiceControl,0xE8FB8620,0x588F,0x11d2,0x9d,0x61,0x0,0xc0,0x4f,0x79,0xc5,0xfe);
DEFINE_GUID(CLSID_IisServiceControl,0xE8FB8621,0x588F,0x11d2,0x9d,0x61,0x0,0xc0,0x4f,0x79,0xc5,0xfe);
diff --git a/mingw-w64-headers/include/indexsrv.h b/mingw-w64-headers/include/indexsrv.h
index 8ad8de5..d2d2c42 100644
--- a/mingw-w64-headers/include/indexsrv.h
+++ b/mingw-w64-headers/include/indexsrv.h
@@ -69,8 +69,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 __IPhraseSink_INTERFACE_DEFINED__
#define __IPhraseSink_INTERFACE_DEFINED__
diff --git a/mingw-w64-headers/include/inetsdk.h b/mingw-w64-headers/include/inetsdk.h
index 1969bc8..269f92e 100644
--- a/mingw-w64-headers/include/inetsdk.h
+++ b/mingw-w64-headers/include/inetsdk.h
@@ -22,8 +22,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
extern RPC_IF_HANDLE __MIDL_itf_inetsdk_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_inetsdk_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/inputscope.h b/mingw-w64-headers/include/inputscope.h
index 04ceed1..5c2fc9d 100644
--- a/mingw-w64-headers/include/inputscope.h
+++ b/mingw-w64-headers/include/inputscope.h
@@ -34,8 +34,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 INPUTSCOPE_DEFINED
#define INPUTSCOPE_DEFINED
diff --git a/mingw-w64-headers/include/ipmsp.h b/mingw-w64-headers/include/ipmsp.h
index 640e061..3419680 100644
--- a/mingw-w64-headers/include/ipmsp.h
+++ b/mingw-w64-headers/include/ipmsp.h
@@ -63,8 +63,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
#define MAX_PARTICIPANT_TYPED_INFO_LENGTH (256)
diff --git a/mingw-w64-headers/include/iwamreg.h b/mingw-w64-headers/include/iwamreg.h
index e75e0ad..9431504 100644
--- a/mingw-w64-headers/include/iwamreg.h
+++ b/mingw-w64-headers/include/iwamreg.h
@@ -52,8 +52,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 __WAMREG_IADM__IID
#define __WAMREG_IADM__IID
diff --git a/mingw-w64-headers/include/mddefw.h b/mingw-w64-headers/include/mddefw.h
index 1267607..58d6d5f 100644
--- a/mingw-w64-headers/include/mddefw.h
+++ b/mingw-w64-headers/include/mddefw.h
@@ -23,8 +23,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 _MD_DEFW_
#define _MD_DEFW_
diff --git a/mingw-w64-headers/include/mdhcp.h b/mingw-w64-headers/include/mdhcp.h
index 5099fa7..192ee6c 100644
--- a/mingw-w64-headers/include/mdhcp.h
+++ b/mingw-w64-headers/include/mdhcp.h
@@ -79,8 +79,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
extern RPC_IF_HANDLE __MIDL_itf_mdhcp_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_mdhcp_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/mergemod.h b/mingw-w64-headers/include/mergemod.h
index d495b0c..1894317 100644
--- a/mingw-w64-headers/include/mergemod.h
+++ b/mingw-w64-headers/include/mergemod.h
@@ -149,8 +149,11 @@
#include "oaidl.h"
+#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 __FORWARD_IID_IMSMMERGETYPELIB
#define __FORWARD_IID_IMSMMERGETYPELIB
diff --git a/mingw-w64-headers/include/mimeinfo.h b/mingw-w64-headers/include/mimeinfo.h
index 20c5b87..f2513d1 100644
--- a/mingw-w64-headers/include/mimeinfo.h
+++ b/mingw-w64-headers/include/mimeinfo.h
@@ -33,8 +33,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
extern RPC_IF_HANDLE __MIDL_itf_mimeinfo_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_mimeinfo_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/mlang.h b/mingw-w64-headers/include/mlang.h
index a18bf1e..79447f9 100644
--- a/mingw-w64-headers/include/mlang.h
+++ b/mingw-w64-headers/include/mlang.h
@@ -131,8 +131,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
extern RPC_IF_HANDLE __MIDL_itf_mlang_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_mlang_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/mmc.h b/mingw-w64-headers/include/mmc.h
index 5a403cc..c31b82c 100644
--- a/mingw-w64-headers/include/mmc.h
+++ b/mingw-w64-headers/include/mmc.h
@@ -277,8 +277,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 MMC_VER
#define MMC_VER 0x0200
diff --git a/mingw-w64-headers/include/mmcobj.h b/mingw-w64-headers/include/mmcobj.h
index 3df406d..b8057d4 100644
--- a/mingw-w64-headers/include/mmcobj.h
+++ b/mingw-w64-headers/include/mmcobj.h
@@ -161,8 +161,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 MMC_VER
#define MMC_VER 0x0200
diff --git a/mingw-w64-headers/include/mobsync.h b/mingw-w64-headers/include/mobsync.h
index 4e86fdb..6c1bd2a 100644
--- a/mingw-w64-headers/include/mobsync.h
+++ b/mingw-w64-headers/include/mobsync.h
@@ -64,8 +64,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
typedef GUID SYNCMGRITEMID;
typedef REFGUID REFSYNCMGRITEMID;
diff --git a/mingw-w64-headers/include/mqoai.h b/mingw-w64-headers/include/mqoai.h
index efee0f5..4ea7ff6 100644
--- a/mingw-w64-headers/include/mqoai.h
+++ b/mingw-w64-headers/include/mqoai.h
@@ -346,8 +346,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 __MSMQ_LIBRARY_DEFINED__
#define __MSMQ_LIBRARY_DEFINED__
diff --git a/mingw-w64-headers/include/msclus.h b/mingw-w64-headers/include/msclus.h
index 58e2eea..dd7c8b7 100644
--- a/mingw-w64-headers/include/msclus.h
+++ b/mingw-w64-headers/include/msclus.h
@@ -575,8 +575,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 _CLUSTER_API_TYPES_
#define _CLUSTER_API_TYPES_
diff --git a/mingw-w64-headers/include/msdadc.h b/mingw-w64-headers/include/msdadc.h
index eb9826a..100bf7c 100644
--- a/mingw-w64-headers/include/msdadc.h
+++ b/mingw-w64-headers/include/msdadc.h
@@ -40,8 +40,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 <pshpack8.h>
#undef OLEDBDECLSPEC
diff --git a/mingw-w64-headers/include/msdaipp.h b/mingw-w64-headers/include/msdaipp.h
index c1f7039..48ee3c5 100644
--- a/mingw-w64-headers/include/msdaipp.h
+++ b/mingw-w64-headers/include/msdaipp.h
@@ -51,8 +51,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
#define MSDAIPP_MAX_URL_LENGTH 4096
diff --git a/mingw-w64-headers/include/msdaosp.h b/mingw-w64-headers/include/msdaosp.h
index a285620..54ff6d8 100644
--- a/mingw-w64-headers/include/msdaosp.h
+++ b/mingw-w64-headers/include/msdaosp.h
@@ -24,8 +24,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 "msdatsrc.h"
#include "simpdata.h"
diff --git a/mingw-w64-headers/include/msdasc.h b/mingw-w64-headers/include/msdasc.h
index 52c22ea..56cb028 100644
--- a/mingw-w64-headers/include/msdasc.h
+++ b/mingw-w64-headers/include/msdasc.h
@@ -86,8 +86,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
#ifdef _WIN64
typedef LONGLONG COMPATIBLE_LONG;
diff --git a/mingw-w64-headers/include/msdasql.h b/mingw-w64-headers/include/msdasql.h
index 902f870..a17f7f5 100644
--- a/mingw-w64-headers/include/msdasql.h
+++ b/mingw-w64-headers/include/msdasql.h
@@ -112,8 +112,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 __IRowsetChangeExtInfo_INTERFACE_DEFINED__
#define __IRowsetChangeExtInfo_INTERFACE_DEFINED__
@@ -193,8 +196,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
enum KAGREQDIAGFLAGSENUM {
KAGREQDIAGFLAGS_HEADER = 0x1,KAGREQDIAGFLAGS_RECORD = 0x2
diff --git a/mingw-w64-headers/include/msdatsrc.h b/mingw-w64-headers/include/msdatsrc.h
index a422d41..7a17010 100644
--- a/mingw-w64-headers/include/msdatsrc.h
+++ b/mingw-w64-headers/include/msdatsrc.h
@@ -27,8 +27,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
#define IDataSource DataSource
#define IDataSourceListener DataSourceListener
diff --git a/mingw-w64-headers/include/mshtmhst.h b/mingw-w64-headers/include/mshtmhst.h
index d971003..1146263 100644
--- a/mingw-w64-headers/include/mshtmhst.h
+++ b/mingw-w64-headers/include/mshtmhst.h
@@ -73,8 +73,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 MSHTMHST_H
#define MSHTMHST_H
diff --git a/mingw-w64-headers/include/mshtml.h b/mingw-w64-headers/include/mshtml.h
index 3c52cfc..436a373 100644
--- a/mingw-w64-headers/include/mshtml.h
+++ b/mingw-w64-headers/include/mshtml.h
@@ -3237,8 +3237,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 <olectl.h>
EXTERN_C const GUID CMDSETID_Forms3;
diff --git a/mingw-w64-headers/include/mshtmlc.h b/mingw-w64-headers/include/mshtmlc.h
index 0a3aa91..07f3040 100644
--- a/mingw-w64-headers/include/mshtmlc.h
+++ b/mingw-w64-headers/include/mshtmlc.h
@@ -3236,8 +3236,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 <olectl.h>
EXTERN_C const GUID CMDSETID_Forms3;
diff --git a/mingw-w64-headers/include/msimcntl.h b/mingw-w64-headers/include/msimcntl.h
index f165aa2..28b241c 100644
--- a/mingw-w64-headers/include/msimcntl.h
+++ b/mingw-w64-headers/include/msimcntl.h
@@ -99,8 +99,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
#define DMSIMCONTACTVIEWEVENTS_OnReady 0xD0
#define DMSIMCONTACTVIEWEVENTS_OnLogon 0xD1
diff --git a/mingw-w64-headers/include/msimcsdk.h b/mingw-w64-headers/include/msimcsdk.h
index e90276a..5d36927 100644
--- a/mingw-w64-headers/include/msimcsdk.h
+++ b/mingw-w64-headers/include/msimcsdk.h
@@ -115,8 +115,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
#define MSIM_DISPID_ONLOGONRESULT 0x0E00
#define MSIM_DISPID_ONLOGOFF 0x0E01
diff --git a/mingw-w64-headers/include/msp.h b/mingw-w64-headers/include/msp.h
index c8e13e0..a7929ee 100644
--- a/mingw-w64-headers/include/msp.h
+++ b/mingw-w64-headers/include/msp.h
@@ -43,8 +43,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
typedef long *MSP_HANDLE;
diff --git a/mingw-w64-headers/include/mstask.h b/mingw-w64-headers/include/mstask.h
index ee3323a..23003ee 100644
--- a/mingw-w64-headers/include/mstask.h
+++ b/mingw-w64-headers/include/mstask.h
@@ -59,8 +59,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
#define TASK_SUNDAY (0x1)
#define TASK_MONDAY (0x2)
diff --git a/mingw-w64-headers/include/msxml.h b/mingw-w64-headers/include/msxml.h
index 4038eec..1f7e778 100644
--- a/mingw-w64-headers/include/msxml.h
+++ b/mingw-w64-headers/include/msxml.h
@@ -212,8 +212,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
typedef struct _xml_error {
unsigned int _nLine;
diff --git a/mingw-w64-headers/include/msxml2.h b/mingw-w64-headers/include/msxml2.h
index 72ef520..3f290a9 100644
--- a/mingw-w64-headers/include/msxml2.h
+++ b/mingw-w64-headers/include/msxml2.h
@@ -789,8 +789,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
#define DOMDocument DOMDocument2
#define CLSID_DOMDocument CLSID_DOMDocument2
diff --git a/mingw-w64-headers/include/mtsadmin.h b/mingw-w64-headers/include/mtsadmin.h
index e0dcd88..5281dbe 100644
--- a/mingw-w64-headers/include/mtsadmin.h
+++ b/mingw-w64-headers/include/mtsadmin.h
@@ -117,8 +117,11 @@
#include "unknwn.h"
#include "comadmin.h"
+#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>
diff --git a/mingw-w64-headers/include/mtxadmin.h b/mingw-w64-headers/include/mtxadmin.h
index 4b8d91f..cb95912 100644
--- a/mingw-w64-headers/include/mtxadmin.h
+++ b/mingw-w64-headers/include/mtxadmin.h
@@ -118,8 +118,11 @@
#include "unknwn.h"
#include "oaidl.h"
+#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>
diff --git a/mingw-w64-headers/include/multinfo.h b/mingw-w64-headers/include/multinfo.h
index 0ef1f36..4bd0d22 100644
--- a/mingw-w64-headers/include/multinfo.h
+++ b/mingw-w64-headers/include/multinfo.h
@@ -34,8 +34,11 @@
#include "oaidl.h"
+#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 _OLECTL_H_
#include <olectl.h>
diff --git a/mingw-w64-headers/include/netcon.h b/mingw-w64-headers/include/netcon.h
index 09a3312..d846e48 100644
--- a/mingw-w64-headers/include/netcon.h
+++ b/mingw-w64-headers/include/netcon.h
@@ -143,8 +143,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
EXTERN_C const CLSID CLSID_ConnectionManager;
EXTERN_C const CLSID CLSID_ConnectionCommonUi;
diff --git a/mingw-w64-headers/include/netmon.h b/mingw-w64-headers/include/netmon.h
index d64c168..47776ee 100644
--- a/mingw-w64-headers/include/netmon.h
+++ b/mingw-w64-headers/include/netmon.h
@@ -43,8 +43,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 <winerror.h>
#include <winerror.h>
diff --git a/mingw-w64-headers/include/netprov.h b/mingw-w64-headers/include/netprov.h
index 461abd9..4f914ff 100644
--- a/mingw-w64-headers/include/netprov.h
+++ b/mingw-w64-headers/include/netprov.h
@@ -63,8 +63,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
extern RPC_IF_HANDLE __MIDL_itf_netprov_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_netprov_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/oaidl.h b/mingw-w64-headers/include/oaidl.h
index 440340a..5a4040b 100644
--- a/mingw-w64-headers/include/oaidl.h
+++ b/mingw-w64-headers/include/oaidl.h
@@ -128,8 +128,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
extern RPC_IF_HANDLE __MIDL_itf_oaidl_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_oaidl_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/objidl.h b/mingw-w64-headers/include/objidl.h
index 3cde218..947de81 100644
--- a/mingw-w64-headers/include/objidl.h
+++ b/mingw-w64-headers/include/objidl.h
@@ -473,8 +473,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
typedef struct _COSERVERINFO {
DWORD dwReserved1;
diff --git a/mingw-w64-headers/include/objsafe.h b/mingw-w64-headers/include/objsafe.h
index e35b281..f3e55ca 100644
--- a/mingw-w64-headers/include/objsafe.h
+++ b/mingw-w64-headers/include/objsafe.h
@@ -33,8 +33,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 _LPSAFEOBJECT_DEFINED
#define _LPSAFEOBJECT_DEFINED
diff --git a/mingw-w64-headers/include/ocidl.h b/mingw-w64-headers/include/ocidl.h
index d338809..5d610a0 100644
--- a/mingw-w64-headers/include/ocidl.h
+++ b/mingw-w64-headers/include/ocidl.h
@@ -226,8 +226,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
extern RPC_IF_HANDLE __MIDL_itf_ocidl_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_ocidl_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/ocmm.h b/mingw-w64-headers/include/ocmm.h
index a862b25..d7559bf 100644
--- a/mingw-w64-headers/include/ocmm.h
+++ b/mingw-w64-headers/include/ocmm.h
@@ -59,8 +59,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
#define SURFACE_LOCK_EXCLUSIVE 0x01
#define SURFACE_LOCK_ALLOW_DISCARD 0x02
diff --git a/mingw-w64-headers/include/oleacc.h b/mingw-w64-headers/include/oleacc.h
index 063d5fd..95b417d 100644
--- a/mingw-w64-headers/include/oleacc.h
+++ b/mingw-w64-headers/include/oleacc.h
@@ -88,8 +88,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
typedef LRESULT (WINAPI *LPFNLRESULTFROMOBJECT)(REFIID riid,WPARAM wParam,LPUNKNOWN punk);
typedef HRESULT (WINAPI *LPFNOBJECTFROMLRESULT)(LRESULT lResult,REFIID riid,WPARAM wParam,void **ppvObject);
diff --git a/mingw-w64-headers/include/oledb.h b/mingw-w64-headers/include/oledb.h
index afbaf5d..92a5290 100644
--- a/mingw-w64-headers/include/oledb.h
+++ b/mingw-w64-headers/include/oledb.h
@@ -437,8 +437,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
#ifdef _WIN64
#include <pshpack8.h>
diff --git a/mingw-w64-headers/include/oledbdep.h b/mingw-w64-headers/include/oledbdep.h
index 3cdc814..96b4bb8 100644
--- a/mingw-w64-headers/include/oledbdep.h
+++ b/mingw-w64-headers/include/oledbdep.h
@@ -103,8 +103,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
#ifdef _WIN64
#include <pshpack8.h>
diff --git a/mingw-w64-headers/include/oleidl.h b/mingw-w64-headers/include/oleidl.h
index eaa65a4..eeccf2a 100644
--- a/mingw-w64-headers/include/oleidl.h
+++ b/mingw-w64-headers/include/oleidl.h
@@ -138,8 +138,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
extern RPC_IF_HANDLE __MIDL_itf_oleidl_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_oleidl_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/oletx2xa.h b/mingw-w64-headers/include/oletx2xa.h
index 13df2f1..55c00cf 100644
--- a/mingw-w64-headers/include/oletx2xa.h
+++ b/mingw-w64-headers/include/oletx2xa.h
@@ -51,8 +51,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
extern RPC_IF_HANDLE __MIDL_itf_oletx2xa_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_oletx2xa_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/perhist.h b/mingw-w64-headers/include/perhist.h
index dd41eae..472ad50 100644
--- a/mingw-w64-headers/include/perhist.h
+++ b/mingw-w64-headers/include/perhist.h
@@ -34,8 +34,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 _LPPERSISTHISTORY_DEFINED
#define _LPPERSISTHISTORY_DEFINED
diff --git a/mingw-w64-headers/include/propidl.h b/mingw-w64-headers/include/propidl.h
index c8fa2c2..8ed2d87 100644
--- a/mingw-w64-headers/include/propidl.h
+++ b/mingw-w64-headers/include/propidl.h
@@ -49,8 +49,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
typedef struct tagVersionedStream {
GUID guidVersion;
diff --git a/mingw-w64-headers/include/pstore.h b/mingw-w64-headers/include/pstore.h
index d780d1a..5d6dab3 100644
--- a/mingw-w64-headers/include/pstore.h
+++ b/mingw-w64-headers/include/pstore.h
@@ -107,8 +107,11 @@
#include "wtypes.h"
+#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
typedef DWORD PST_PROVIDERCAPABILITIES;
typedef DWORD PST_REPOSITORYCAPABILITIES;
@@ -229,8 +232,11 @@
#include "oaidl.h"
+#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 __IEnumPStoreItems_INTERFACE_DEFINED__
#define __IEnumPStoreItems_INTERFACE_DEFINED__
diff --git a/mingw-w64-headers/include/qmgr.h b/mingw-w64-headers/include/qmgr.h
index f48a4f6..224b883 100644
--- a/mingw-w64-headers/include/qmgr.h
+++ b/mingw-w64-headers/include/qmgr.h
@@ -69,8 +69,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
#define QM_NOTIFY_FILE_DONE 0x00000001
#define QM_NOTIFY_JOB_DONE 0x00000002
diff --git a/mingw-w64-headers/include/rend.h b/mingw-w64-headers/include/rend.h
index d7c8a2b..f47e9f7 100644
--- a/mingw-w64-headers/include/rend.h
+++ b/mingw-w64-headers/include/rend.h
@@ -113,8 +113,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
#define IDISPDIROBJECT (0x10000)
#define IDISPDIROBJCONFERENCE (0x20000)
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
diff --git a/mingw-w64-headers/include/rrascfg.h b/mingw-w64-headers/include/rrascfg.h
index ea422cb..7fe8887 100644
--- a/mingw-w64-headers/include/rrascfg.h
+++ b/mingw-w64-headers/include/rrascfg.h
@@ -50,8 +50,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
typedef BYTE *PBYTE;
diff --git a/mingw-w64-headers/include/rtccore.h b/mingw-w64-headers/include/rtccore.h
index f032ad0..de08bc6 100644
--- a/mingw-w64-headers/include/rtccore.h
+++ b/mingw-w64-headers/include/rtccore.h
@@ -633,8 +633,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
typedef enum RTC_AUDIO_DEVICE {
RTCAD_SPEAKER = 0,RTCAD_MICROPHONE = RTCAD_SPEAKER + 1
diff --git a/mingw-w64-headers/include/scardssp.h b/mingw-w64-headers/include/scardssp.h
index 7850891..ab9ac03 100644
--- a/mingw-w64-headers/include/scardssp.h
+++ b/mingw-w64-headers/include/scardssp.h
@@ -127,8 +127,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 _NULL_DEFINED
#define _NULL_DEFINED
diff --git a/mingw-w64-headers/include/sdoias.h b/mingw-w64-headers/include/sdoias.h
index 71607f3..be9fb81 100644
--- a/mingw-w64-headers/include/sdoias.h
+++ b/mingw-w64-headers/include/sdoias.h
@@ -59,8 +59,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 __SDOIASLib_LIBRARY_DEFINED__
#define __SDOIASLib_LIBRARY_DEFINED__
diff --git a/mingw-w64-headers/include/sdpblb.h b/mingw-w64-headers/include/sdpblb.h
index fd6a688..45584ea 100644
--- a/mingw-w64-headers/include/sdpblb.h
+++ b/mingw-w64-headers/include/sdpblb.h
@@ -108,8 +108,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
#define IDISPCONFBLOB (0x10000)
#define IDISPSDP (0x20000)
diff --git a/mingw-w64-headers/include/sensevts.h b/mingw-w64-headers/include/sensevts.h
index 73a6a5f..c9b4dcd 100644
--- a/mingw-w64-headers/include/sensevts.h
+++ b/mingw-w64-headers/include/sensevts.h
@@ -52,8 +52,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 __SensEvents_LIBRARY_DEFINED__
#define __SensEvents_LIBRARY_DEFINED__
diff --git a/mingw-w64-headers/include/servprov.h b/mingw-w64-headers/include/servprov.h
index ce40b0e..2b2a75b 100644
--- a/mingw-w64-headers/include/servprov.h
+++ b/mingw-w64-headers/include/servprov.h
@@ -34,8 +34,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
extern RPC_IF_HANDLE __MIDL_itf_servprov_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_servprov_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/shappmgr.h b/mingw-w64-headers/include/shappmgr.h
index 8d3e706..8f55a2d 100644
--- a/mingw-w64-headers/include/shappmgr.h
+++ b/mingw-w64-headers/include/shappmgr.h
@@ -50,8 +50,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 _SHAPPMGR_H_
#define _SHAPPMGR_H_
diff --git a/mingw-w64-headers/include/shdeprecated.h b/mingw-w64-headers/include/shdeprecated.h
index 2af45d3..92084bf 100644
--- a/mingw-w64-headers/include/shdeprecated.h
+++ b/mingw-w64-headers/include/shdeprecated.h
@@ -69,8 +69,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
#define TLOG_BACK -1
#define TLOG_FORE 1
diff --git a/mingw-w64-headers/include/shldisp.h b/mingw-w64-headers/include/shldisp.h
index ff02a22..1714337 100644
--- a/mingw-w64-headers/include/shldisp.h
+++ b/mingw-w64-headers/include/shldisp.h
@@ -274,8 +274,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
extern RPC_IF_HANDLE __MIDL_itf_shldisp_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_shldisp_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/shobjidl.h b/mingw-w64-headers/include/shobjidl.h
index 68a2351..793d683 100644
--- a/mingw-w64-headers/include/shobjidl.h
+++ b/mingw-w64-headers/include/shobjidl.h
@@ -610,8 +610,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 _WINRESRC_
#ifndef _WIN32_IE
diff --git a/mingw-w64-headers/include/shtypes.h b/mingw-w64-headers/include/shtypes.h
index 165de67..21c97a8 100644
--- a/mingw-w64-headers/include/shtypes.h
+++ b/mingw-w64-headers/include/shtypes.h
@@ -23,8 +23,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 <pshpack1.h>
typedef struct _SHITEMID {
diff --git a/mingw-w64-headers/include/simpdata.h b/mingw-w64-headers/include/simpdata.h
index 29e8f2f..5fec37d 100644
--- a/mingw-w64-headers/include/simpdata.h
+++ b/mingw-w64-headers/include/simpdata.h
@@ -29,8 +29,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 SIMPDATA_H
#define SIMPDATA_H
diff --git a/mingw-w64-headers/include/simpdc.h b/mingw-w64-headers/include/simpdc.h
index af159cf..4340440 100644
--- a/mingw-w64-headers/include/simpdc.h
+++ b/mingw-w64-headers/include/simpdc.h
@@ -25,8 +25,11 @@
#include "oaidl.h"
#include "ocidl.h"
+#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 __ISimpleDataConverter_INTERFACE_DEFINED__
#define __ISimpleDataConverter_INTERFACE_DEFINED__
diff --git a/mingw-w64-headers/include/sqloledb.h b/mingw-w64-headers/include/sqloledb.h
index f0d6095..41a14a1 100644
--- a/mingw-w64-headers/include/sqloledb.h
+++ b/mingw-w64-headers/include/sqloledb.h
@@ -299,8 +299,11 @@
#include "unknwn.h"
+#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
typedef struct tagSSErrorInfo {
LPOLESTR pwszMessage;
diff --git a/mingw-w64-headers/include/strmif.h b/mingw-w64-headers/include/strmif.h
index 3274226..9bb1abb 100644
--- a/mingw-w64-headers/include/strmif.h
+++ b/mingw-w64-headers/include/strmif.h
@@ -711,8 +711,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
#define CDEF_CLASS_DEFAULT 0x0001
#define CDEF_BYPASS_CLASS_MANAGER 0x0002
diff --git a/mingw-w64-headers/include/subsmgr.h b/mingw-w64-headers/include/subsmgr.h
index e1187ec..b07e7fd 100644
--- a/mingw-w64-headers/include/subsmgr.h
+++ b/mingw-w64-headers/include/subsmgr.h
@@ -63,8 +63,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
typedef GUID SUBSCRIPTIONCOOKIE;
diff --git a/mingw-w64-headers/include/tapi3.h b/mingw-w64-headers/include/tapi3.h
index ed8b5d3..8a55597 100644
--- a/mingw-w64-headers/include/tapi3.h
+++ b/mingw-w64-headers/include/tapi3.h
@@ -228,8 +228,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
typedef enum AGENT_EVENT {
AE_NOT_READY = 0,AE_READY = AE_NOT_READY + 1,AE_BUSY_ACD = AE_READY + 1,AE_BUSY_INCOMING = AE_BUSY_ACD + 1,AE_BUSY_OUTGOING = AE_BUSY_INCOMING + 1,
diff --git a/mingw-w64-headers/include/tapi3cc.h b/mingw-w64-headers/include/tapi3cc.h
index cbf15f2..7c07730 100644
--- a/mingw-w64-headers/include/tapi3cc.h
+++ b/mingw-w64-headers/include/tapi3cc.h
@@ -109,8 +109,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
typedef enum AGENT_EVENT {
AE_NOT_READY = 0,AE_READY = AE_NOT_READY + 1,AE_BUSY_ACD = AE_READY + 1,AE_BUSY_INCOMING = AE_BUSY_ACD + 1,AE_BUSY_OUTGOING = AE_BUSY_INCOMING + 1,
diff --git a/mingw-w64-headers/include/tapi3ds.h b/mingw-w64-headers/include/tapi3ds.h
index d8aff4a..24c5860 100644
--- a/mingw-w64-headers/include/tapi3ds.h
+++ b/mingw-w64-headers/include/tapi3ds.h
@@ -39,8 +39,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
extern RPC_IF_HANDLE __MIDL_itf_tapi3ds_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_tapi3ds_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/tapi3if.h b/mingw-w64-headers/include/tapi3if.h
index f8784db..ee5cf2f 100644
--- a/mingw-w64-headers/include/tapi3if.h
+++ b/mingw-w64-headers/include/tapi3if.h
@@ -444,8 +444,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
#ifdef I_X86_
typedef long TAPIHWND;
diff --git a/mingw-w64-headers/include/termmgr.h b/mingw-w64-headers/include/termmgr.h
index fd1dbfb..948b7fb 100644
--- a/mingw-w64-headers/include/termmgr.h
+++ b/mingw-w64-headers/include/termmgr.h
@@ -88,8 +88,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
typedef enum __MIDL___MIDL_itf_termmgr_0000_0001 {
TMGR_TD_CAPTURE = 1,TMGR_TD_RENDER = 2,TMGR_TD_BOTH = 3
diff --git a/mingw-w64-headers/include/tlogstg.h b/mingw-w64-headers/include/tlogstg.h
index 6dde0d4..8998705 100644
--- a/mingw-w64-headers/include/tlogstg.h
+++ b/mingw-w64-headers/include/tlogstg.h
@@ -44,8 +44,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
#define SID_STravelLogCursor IID_ITravelLogStg
diff --git a/mingw-w64-headers/include/tom.h b/mingw-w64-headers/include/tom.h
index 6e2464e..71517d8 100644
--- a/mingw-w64-headers/include/tom.h
+++ b/mingw-w64-headers/include/tom.h
@@ -109,8 +109,11 @@
#include "oaidl.h"
#include "ocidl.h"
+#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
extern RPC_IF_HANDLE __MIDL_itf_tom_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_tom_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/transact.h b/mingw-w64-headers/include/transact.h
index 80f3283..c8ebae0 100644
--- a/mingw-w64-headers/include/transact.h
+++ b/mingw-w64-headers/include/transact.h
@@ -63,8 +63,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 "winerror.h"
diff --git a/mingw-w64-headers/include/triedit.h b/mingw-w64-headers/include/triedit.h
index d1cbbed..f67b1a5 100644
--- a/mingw-w64-headers/include/triedit.h
+++ b/mingw-w64-headers/include/triedit.h
@@ -48,8 +48,11 @@
#include "oaidl.h"
#include "ocidl.h"
+#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 dwFilterDefaults 0x00000000
#define dwFilterNone 0x00000001
diff --git a/mingw-w64-headers/include/tsuserex.h b/mingw-w64-headers/include/tsuserex.h
index bda0d5d..3d0886e 100644
--- a/mingw-w64-headers/include/tsuserex.h
+++ b/mingw-w64-headers/include/tsuserex.h
@@ -49,8 +49,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 __TSUSEREXLib_LIBRARY_DEFINED__
#define __TSUSEREXLib_LIBRARY_DEFINED__
diff --git a/mingw-w64-headers/include/txcoord.h b/mingw-w64-headers/include/txcoord.h
index 96b1665..3dde4db 100644
--- a/mingw-w64-headers/include/txcoord.h
+++ b/mingw-w64-headers/include/txcoord.h
@@ -98,8 +98,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
extern RPC_IF_HANDLE __MIDL_itf_txcoord_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_txcoord_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/txdtc.h b/mingw-w64-headers/include/txdtc.h
index 0759aa8..40f5122 100644
--- a/mingw-w64-headers/include/txdtc.h
+++ b/mingw-w64-headers/include/txdtc.h
@@ -218,8 +218,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
#define XACTTOMSG(dwXact) (dwXact-0x00040000+0x40000000)
typedef enum XACT_DTC_CONSTANTS {
diff --git a/mingw-w64-headers/include/unknwn.h b/mingw-w64-headers/include/unknwn.h
index 941d3e1..5706e3c 100644
--- a/mingw-w64-headers/include/unknwn.h
+++ b/mingw-w64-headers/include/unknwn.h
@@ -44,8 +44,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
extern RPC_IF_HANDLE __MIDL_itf_unknwn_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_unknwn_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/urlhist.h b/mingw-w64-headers/include/urlhist.h
index 8b936b3..56bcd35 100644
--- a/mingw-w64-headers/include/urlhist.h
+++ b/mingw-w64-headers/include/urlhist.h
@@ -51,8 +51,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
#define STATURL_QUERYFLAG_ISCACHED 0x00010000
#define STATURL_QUERYFLAG_NOURL 0x00020000
diff --git a/mingw-w64-headers/include/urlmon.h b/mingw-w64-headers/include/urlmon.h
index dc519ab..06b9ff4 100644
--- a/mingw-w64-headers/include/urlmon.h
+++ b/mingw-w64-headers/include/urlmon.h
@@ -221,8 +221,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
EXTERN_C const IID CLSID_SBS_StdURLMoniker;
EXTERN_C const IID CLSID_SBS_HttpProtocol;
diff --git a/mingw-w64-headers/include/wbemads.h b/mingw-w64-headers/include/wbemads.h
index 5635a9f..3c2ae9a 100644
--- a/mingw-w64-headers/include/wbemads.h
+++ b/mingw-w64-headers/include/wbemads.h
@@ -50,8 +50,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
extern RPC_IF_HANDLE __MIDL_itf_wbemads_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_wbemads_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/wbemcli.h b/mingw-w64-headers/include/wbemcli.h
index 1870645..42d09ba 100644
--- a/mingw-w64-headers/include/wbemcli.h
+++ b/mingw-w64-headers/include/wbemcli.h
@@ -292,8 +292,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 __WbemClient_v1_LIBRARY_DEFINED__
#define __WbemClient_v1_LIBRARY_DEFINED__
diff --git a/mingw-w64-headers/include/wbemdisp.h b/mingw-w64-headers/include/wbemdisp.h
index 6cae4b3..3dd1078 100644
--- a/mingw-w64-headers/include/wbemdisp.h
+++ b/mingw-w64-headers/include/wbemdisp.h
@@ -494,8 +494,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
extern RPC_IF_HANDLE __MIDL_itf_wbemdisp_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_wbemdisp_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/wbemprov.h b/mingw-w64-headers/include/wbemprov.h
index 0a3a124..0affaae 100644
--- a/mingw-w64-headers/include/wbemprov.h
+++ b/mingw-w64-headers/include/wbemprov.h
@@ -191,8 +191,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
typedef VARIANT WBEM_VARIANT;
typedef WCHAR *WBEM_WSTR;
diff --git a/mingw-w64-headers/include/wbemtran.h b/mingw-w64-headers/include/wbemtran.h
index df1f346..1e4e550 100644
--- a/mingw-w64-headers/include/wbemtran.h
+++ b/mingw-w64-headers/include/wbemtran.h
@@ -132,8 +132,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
extern RPC_IF_HANDLE __MIDL_itf_wbemtran_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_wbemtran_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/wia.h b/mingw-w64-headers/include/wia.h
index 76ee99a..ad3f3f3 100644
--- a/mingw-w64-headers/include/wia.h
+++ b/mingw-w64-headers/include/wia.h
@@ -120,8 +120,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
typedef struct _WIA_DITHER_PATTERN_DATA {
LONG lSize;
diff --git a/mingw-w64-headers/include/wiavideo.h b/mingw-w64-headers/include/wiavideo.h
index 719e511..75bee3e 100644
--- a/mingw-w64-headers/include/wiavideo.h
+++ b/mingw-w64-headers/include/wiavideo.h
@@ -43,8 +43,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
typedef enum __MIDL___MIDL_itf_wiavideo_0000_0001 {
WIAVIDEO_NO_VIDEO = 1,WIAVIDEO_CREATING_VIDEO = 2,WIAVIDEO_VIDEO_CREATED = 3,WIAVIDEO_VIDEO_PLAYING = 4,WIAVIDEO_VIDEO_PAUSED = 5,
diff --git a/mingw-w64-headers/include/wmiutils.h b/mingw-w64-headers/include/wmiutils.h
index 2ecb3bf..01d360b 100644
--- a/mingw-w64-headers/include/wmiutils.h
+++ b/mingw-w64-headers/include/wmiutils.h
@@ -65,8 +65,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
extern RPC_IF_HANDLE __MIDL_itf_wmiutils_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_wmiutils_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/wtypes.h b/mingw-w64-headers/include/wtypes.h
index 6cb16f1..63138ce 100644
--- a/mingw-w64-headers/include/wtypes.h
+++ b/mingw-w64-headers/include/wtypes.h
@@ -24,8 +24,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
extern RPC_IF_HANDLE __MIDL_itf_wtypes_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_wtypes_0000_v0_0_s_ifspec;
diff --git a/mingw-w64-headers/include/xenroll.h b/mingw-w64-headers/include/xenroll.h
index 7d5a609..c241e84 100644
--- a/mingw-w64-headers/include/xenroll.h
+++ b/mingw-w64-headers/include/xenroll.h
@@ -84,8 +84,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 __ICEnroll_INTERFACE_DEFINED__
#define __ICEnroll_INTERFACE_DEFINED__
diff --git a/mingw-w64-headers/include/xmltrnsf.h b/mingw-w64-headers/include/xmltrnsf.h
index 6d9ee43..aef6a42 100644
--- a/mingw-w64-headers/include/xmltrnsf.h
+++ b/mingw-w64-headers/include/xmltrnsf.h
@@ -53,8 +53,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 __WmiXMLTransformer_LIBRARY_DEFINED__
#define __WmiXMLTransformer_LIBRARY_DEFINED__