]> git.cworth.org Git - apitrace/blobdiff - compat.h
Add "apitrace diff-images" command
[apitrace] / compat.h
index f1d302878e212a3deb2e0f3c73371732aaa8a87f..74b45c3c211535955f25ef69f6c880e4627466aa 100644 (file)
--- a/compat.h
+++ b/compat.h
 #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__ */