symbian-qemu-0.9.1-12/model-libraries/commoninc/platformtypes.h
branchGCC_SURGE
changeset 93 07b904f40417
parent 74 eb3d0111f868
child 114 19c4533e1567
--- a/symbian-qemu-0.9.1-12/model-libraries/commoninc/platformtypes.h	Thu Jul 29 11:34:55 2010 +0100
+++ b/symbian-qemu-0.9.1-12/model-libraries/commoninc/platformtypes.h	Wed Aug 04 10:56:22 2010 +0100
@@ -1,6 +1,8 @@
 #ifndef PLATFORMTYPES_H
 #define PLATFORMTYPES_H
-
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#else
 // TODO: We should have a proper type definition file created common for standalone model libraries
 typedef signed __int8         int8_t;
 typedef signed __int16        int16_t;
@@ -15,5 +17,7 @@
 typedef unsigned __int64    uint64_t;
 typedef unsigned __int64    u_int64_t;
 typedef unsigned char byte_t;
+#endif
+
 
 #endif // PLATFORMTYPES_H