projects
/
profile
/
ivi
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0345c34
)
Visual Studio 2010 includes stdint.h
author
Siddharth Agarwal
<sid.bugzilla@gmail.com>
Tue, 13 Apr 2010 14:15:29 +0000
(10:15 -0400)
committer
Jeff Muizelaar
<jmuizelaar@mozilla.com>
Tue, 13 Apr 2010 14:15:29 +0000
(10:15 -0400)
Use the builtin version instead of defining the types ourselves.
pixman/pixman.h
patch
|
blob
|
history
diff --git
a/pixman/pixman.h
b/pixman/pixman.h
index
85fcc8c
..
964d04a
100644
(file)
--- a/
pixman/pixman.h
+++ b/
pixman/pixman.h
@@
-89,7
+89,8
@@
PIXMAN_BEGIN_DECLS
#if defined (_SVR4) || defined (SVR4) || defined (__OpenBSD__) || defined (_sgi) || defined (__sun) || defined (sun) || defined (__digital__) || defined (__HP_cc)
# include <inttypes.h>
-#elif defined (_MSC_VER)
+/* VS 2010 (_MSC_VER 1600) has stdint.h */
+#elif defined (_MSC_VER) && _MSC_VER < 1600
typedef __int8 int8_t;
typedef unsigned __int8 uint8_t;
typedef __int16 int16_t;