summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-05-31 10:58:47 +0800
committerChia-I Wu <[email protected]>2010-05-31 11:00:01 +0800
commitd2cb99904578b263396752975d60c8d7e2eac14b (patch)
tree24ef77e8abb4d4dc8a604c592ca268d176d7b407 /src
parentfa97399f422c36938a66c2f9098e28a1326eecbb (diff)
Always define int32_t in compiler headers.
eglplatform.h no longer defines int32_t.
Diffstat (limited to 'src')
-rw-r--r--src/egl/main/eglcompiler.h4
-rw-r--r--src/mesa/main/compiler.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/src/egl/main/eglcompiler.h b/src/egl/main/eglcompiler.h
index 401a9cf56ad..6ecee51d7ca 100644
--- a/src/egl/main/eglcompiler.h
+++ b/src/egl/main/eglcompiler.h
@@ -12,9 +12,7 @@
typedef unsigned __int8 uint8_t;
typedef __int16 int16_t;
typedef unsigned __int16 uint16_t;
-# ifndef __eglplatform_h_
- typedef __int32 int32_t;
-# endif
+ typedef __int32 int32_t;
typedef unsigned __int32 uint32_t;
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index efd8057608c..e0507ccf864 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -65,9 +65,7 @@ extern "C" {
typedef unsigned __int8 uint8_t;
typedef __int16 int16_t;
typedef unsigned __int16 uint16_t;
-# ifndef __eglplatform_h_
- typedef __int32 int32_t;
-# endif
+ typedef __int32 int32_t;
typedef unsigned __int32 uint32_t;
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;