projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9928939
)
Use stdint.h for VS 2010 and later.
author
Zoltan Varga
<vargaz@gmail.com>
Tue, 1 Mar 2011 15:33:08 +0000
(16:33 +0100)
committer
Zoltan Varga
<vargaz@gmail.com>
Tue, 1 Mar 2011 15:34:19 +0000
(16:34 +0100)
mono/utils/mono-publib.h
patch
|
blob
|
history
diff --git
a/mono/utils/mono-publib.h
b/mono/utils/mono-publib.h
index b54249241199e58a1e6f2be4b3239a6de4171945..5b6e0ff40ed4ebd6f48287de175dac97ec09f37a 100644
(file)
--- a/
mono/utils/mono-publib.h
+++ b/
mono/utils/mono-publib.h
@@
-17,7
+17,8
@@
MONO_BEGIN_DECLS
-#if defined(_MSC_VER)
+/* VS 2010 and later have stdint.h */
+#if defined(_MSC_VER) && _MSC_VER < 1600
typedef __int8 int8_t;
typedef unsigned __int8 uint8_t;