# HG changeset patch # User Stefan Karlsson # Date 1270568869 -3600 # Node ID 32d0abd57edbade1485eabb3dc43e1817deec5e0 # Parent 8a20451cf4b887f0f169b8fbf93391595374f270 Fixed Bug 1712 and Bug 1780 diff -r 8a20451cf4b8 -r 32d0abd57edb egl/eglinterface/include/1.4/khronos_types.h --- a/egl/eglinterface/include/1.4/khronos_types.h Sun Mar 28 16:39:00 2010 +0100 +++ b/egl/eglinterface/include/1.4/khronos_types.h Tue Apr 06 16:47:49 2010 +0100 @@ -31,6 +31,11 @@ typedef TUint16 khronos_uint16_t; // unsigned short int typedef TInt32 khronos_int32_t; // long int typedef TUint32 khronos_uint32_t; // unsigned long int -typedef TUint64 khronos_utime_nanoseconds_t; // unsigned long long + +typedef TInt64 khronos_int64_t; // long int +typedef TUint64 khronos_uint64_t; // unsigned long int + +typedef TUint64 khronos_utime_nanoseconds_t; +typedef TInt32 khronos_stime_nanoseconds_t; #endif // __KHRONOS_TYPES_H__ diff -r 8a20451cf4b8 -r 32d0abd57edb egl/eglinterface/include/khrplatform.h --- a/egl/eglinterface/include/khrplatform.h Sun Mar 28 16:39:00 2010 +0100 +++ b/egl/eglinterface/include/khrplatform.h Tue Apr 06 16:47:49 2010 +0100 @@ -86,6 +86,8 @@ #include +#include // For khronos_int8_t and similar typedefinitions. + /*------------------------------------------------------------------------- * Definition of KHRONOS_APICALL and KHRONOS_APIENTRY *-----------------------------------------------------------------------*/ @@ -128,7 +130,7 @@ # define KHRAPI KHRONOS_APICALL #endif -#if defined (__ARMCC_2__) +#if defined (__ARMCC__) #define KHRONOS_APIATTRIBUTES __softfp #else #define KHRONOS_APIATTRIBUTES @@ -137,20 +139,6 @@ #define KHRONOS_SUPPORT_INT64 0 #define KHRONOS_SUPPORT_FLOAT 0 -typedef TReal32 khronos_float; // float -typedef TReal32 khronos_float_t; // float -typedef TInt8 khronos_int8_t; // signed char -typedef TUint8 khronos_uint8_t; // unsigned char -typedef TInt16 khronos_int16_t; // short int -typedef TUint16 khronos_uint16_t; // unsigned short int -typedef TInt32 khronos_int32_t; // long int -typedef TUint32 khronos_uint32_t; // unsigned long int -typedef TInt64 khronos_int64_t; // long int -typedef TUint64 khronos_uint64_t; // unsigned long int - -typedef TUint64 khronos_utime_nanoseconds_t; -typedef TInt32 khronos_stime_nanoseconds_t; - #ifdef __cplusplus } #endif