Mesa (master): Always define int32_t in compiler headers.

Chia-I Wu olv at kemper.freedesktop.org
Mon May 31 05:28:54 UTC 2010


Module: Mesa
Branch: master
Commit: d2cb99904578b263396752975d60c8d7e2eac14b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2cb99904578b263396752975d60c8d7e2eac14b

Author: Chia-I Wu <olv at lunarg.com>
Date:   Mon May 31 10:58:47 2010 +0800

Always define int32_t in compiler headers.

eglplatform.h no longer defines int32_t.

---

 include/c99/stdint.h       |    2 --
 src/egl/main/eglcompiler.h |    4 +---
 src/mesa/main/compiler.h   |    4 +---
 3 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/include/c99/stdint.h b/include/c99/stdint.h
index e380213..fc6459d 100644
--- a/include/c99/stdint.h
+++ b/include/c99/stdint.h
@@ -94,9 +94,7 @@ typedef __int8             int8_t;
 typedef unsigned __int8    uint8_t;
 typedef __int16            int16_t;
 typedef unsigned __int16   uint16_t;
-#ifndef __eglplatform_h_
 typedef __int32            int32_t;
-#endif
 typedef unsigned __int32   uint32_t;
 typedef __int64            int64_t;
 typedef unsigned __int64   uint64_t;
diff --git a/src/egl/main/eglcompiler.h b/src/egl/main/eglcompiler.h
index 401a9cf..6ecee51 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 efd8057..e0507cc 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;




More information about the mesa-commit mailing list