]> git.cworth.org Git - apitrace/blobdiff - compat.h
Get d2d to build on MinGW.
[apitrace] / compat.h
index c7fb3d52a2b95111e7661ab9b417718a9ba5c46f..4573b97794daeb39f2f4daea55cb2bec01785b11 100644 (file)
--- a/compat.h
+++ b/compat.h
@@ -50,6 +50,7 @@
 #define __inline __inline__
 #define __deref_out /**/
 #define __deref_out_opt /**/
+#define __deref_out_bcount(x)
 #define __maybenull
 #define __in_z
 #define __in_z_opt
@@ -66,6 +67,8 @@
 #define DECLSPEC_NOVTABLE
 #endif
 
+#include <stdint.h>
+
 #define INT8 int8_t
 #define UINT8 uint8_t
 #define INT16 int16_t