symbian-qemu-0.9.1-12/model-libraries/commoninc/platformtypes.h
author Mike Kinghan <mikek@symbian.org>
Wed, 04 Aug 2010 10:56:22 +0100
branchGCC_SURGE
changeset 93 07b904f40417
parent 74 eb3d0111f868
child 114 19c4533e1567
permissions -rw-r--r--
Provisional fix for bug 3508 - Persistent storage support breaks Linux compatibility. Enables libnvmemmory.so to be built and dynamically linked on Linux and rom boot reports persistent storage image created OK, but ROM then crashes.

#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;
typedef signed __int32        int32_t;
typedef signed __int64        int64_t;
typedef unsigned __int8     uint8_t;
typedef unsigned __int8     u_int8_t;
typedef unsigned __int16    uint16_t;
typedef unsigned __int16    u_int16_t;
typedef unsigned __int32    uint32_t;
typedef unsigned __int32    u_int32_t;
typedef unsigned __int64    uint64_t;
typedef unsigned __int64    u_int64_t;
typedef unsigned char byte_t;
#endif


#endif // PLATFORMTYPES_H