Always define int32_t in compiler headers.
authorChia-I Wu <olv@lunarg.com>
Mon, 31 May 2010 02:58:47 +0000 (10:58 +0800)
committerChia-I Wu <olv@lunarg.com>
Mon, 31 May 2010 03:00:01 +0000 (11:00 +0800)
eglplatform.h no longer defines int32_t.

include/c99/stdint.h
src/egl/main/eglcompiler.h
src/mesa/main/compiler.h

index e380213..fc6459d 100644 (file)
@@ -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;
index 401a9cf..6ecee51 100644 (file)
@@ -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;
index efd8057..e0507cc 100644 (file)
@@ -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;