From: José Fonseca Date: Thu, 17 Nov 2011 15:47:17 +0000 (+0000) Subject: Fix MinGW-w64 build without DXSDK. X-Git-Tag: 2.0_alpha^2~472 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0478e5ce57e0e579468e03ad8d9022d650a99324;p=tools%2Fapitrace.git Fix MinGW-w64 build without DXSDK. --- 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__ */