summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2011-08-04 18:04:44 -0700
committerVinson Lee <[email protected]>2011-08-04 18:06:18 -0700
commita48118e510fcbb57634a7869cb628123fa8c3f2e (patch)
tree852e864bcd5f8c2dffc964b5dbd390001aa558c6 /src/mesa
parentbf8d06c518a8e17e485b18ba03be3e1b45cc7327 (diff)
mesa: Remove MSVC stdint typedefs from compiler.h.
MSVC can now include the stdint.h at include/c99/stdint.h.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/compiler.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index d736fdfc58a..ee7d0b2f880 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -60,29 +60,7 @@ extern "C" {
/**
* Get standard integer types
*/
-#if defined(_MSC_VER)
- typedef __int8 int8_t;
- typedef unsigned __int8 uint8_t;
- typedef __int16 int16_t;
- typedef unsigned __int16 uint16_t;
- typedef __int32 int32_t;
- typedef unsigned __int32 uint32_t;
- typedef __int64 int64_t;
- typedef unsigned __int64 uint64_t;
-
-# if defined(_WIN64)
- typedef __int64 intptr_t;
- typedef unsigned __int64 uintptr_t;
-# else
- typedef __int32 intptr_t;
- typedef unsigned __int32 uintptr_t;
-# endif
-
-# define INT64_C(__val) __val##i64
-# define UINT64_C(__val) __val##ui64
-#else
-# include <stdint.h>
-#endif
+#include <stdint.h>
/**