From 0478e5ce57e0e579468e03ad8d9022d650a99324 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Thu, 17 Nov 2011 15:47:17 +0000 Subject: [PATCH] Fix MinGW-w64 build without DXSDK. --- compat.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/compat.h b/compat.h index f1d3028..74b45c3 100644 --- a/compat.h +++ b/compat.h @@ -49,9 +49,13 @@ #define __field_ecount_full(x) /**/ #define __inline static __inline__ +#ifndef DECLSPEC_DEPRECATED #define DECLSPEC_DEPRECATED /**/ +#endif -#define UINT8 uint8_t +#ifndef __MINGW64_VERSION_MAJOR +#define UINT8 unsigned char +#endif #endif /* __MINGW32__ */ -- 2.7.4