From f071efe4e3e4e85e86b0b76df59e8ad94d42d1ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Tue, 31 Jan 2012 10:11:57 +0000 Subject: [PATCH] Allow to use newer DXSDKs w/ MinGW. --- compat.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/compat.h b/compat.h index 74b45c3..f7d95a1 100644 --- a/compat.h +++ b/compat.h @@ -48,13 +48,33 @@ #define __field_ecount(x) /**/ #define __field_ecount_full(x) /**/ #define __inline static __inline__ +#define __deref_out /**/ +#define __deref_out_opt /**/ +#define __deref_out_bcount(x) /**/ +#define __maybenull /**/ +#define __in_z /**/ +#define __in_z_opt /**/ +#define __out_z /**/ +#define __out_ecount_z(x) /**/ +#define __nullterminated /**/ +#define __notnull /**/ +#define __field_ecount_opt(x) /**/ +#define __range(x,y) /**/ +#define __out_ecount_part_opt(x,y) /**/ #ifndef DECLSPEC_DEPRECATED #define DECLSPEC_DEPRECATED /**/ #endif +#ifndef DECLSPEC_NOVTABLE +#define DECLSPEC_NOVTABLE /**/ +#endif + #ifndef __MINGW64_VERSION_MAJOR +#define INT8 signed char #define UINT8 unsigned char +#define INT16 signed short +#define UINT16 unsigned short #endif #endif /* __MINGW32__ */ -- 2.7.4