summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiddharth Agarwal <sid.bugzilla@gmail.com>2010-04-13 10:15:29 -0400
committerJeff Muizelaar <jmuizelaar@mozilla.com>2010-04-13 10:15:29 -0400
commitbc11545a1b5c22fe74fc954e26e8a8e9d7cfa39e (patch)
tree95e7c9798a70702839ffae38137c86642e393f49
parent0345c343e55ec19ae3c8c8ed598eab7e1c1e12f3 (diff)
Visual Studio 2010 includes stdint.h
Use the builtin version instead of defining the types ourselves.
-rw-r--r--pixman/pixman.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pixman/pixman.h b/pixman/pixman.h
index 85fcc8c2..964d04ab 100644
--- 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;