X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=compat.h;h=74b45c3c211535955f25ef69f6c880e4627466aa;hb=e181b99a776865a5aca43a64cf6afbaa371583ab;hp=cc6f70e7dfca02ebd16b4fc82d2e5e65a43b49d8;hpb=d320ec46f2923e580b379cebef4bf91d0d279c91;p=apitrace diff --git a/compat.h b/compat.h index cc6f70e..74b45c3 100644 --- a/compat.h +++ b/compat.h @@ -28,6 +28,7 @@ */ #ifdef __MINGW32__ + #define __in /**/ #define __out /**/ #define __inout /**/ @@ -48,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__ */ +