projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82da242
)
Fix MinGW-w64 build without DXSDK.
author
José Fonseca
<jose.r.fonseca@gmail.com>
Thu, 17 Nov 2011 15:47:17 +0000
(15:47 +0000)
committer
José Fonseca
<jose.r.fonseca@gmail.com>
Thu, 17 Nov 2011 15:50:26 +0000
(15:50 +0000)
compat.h
patch
|
blob
|
history
diff --git
a/compat.h
b/compat.h
index
f1d3028
..
74b45c3
100644
(file)
--- 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__ */