symbian-qemu-0.9.1-12/model-libraries/commoninc/platformtypes.h
author Gareth Stockwell <gareth.stockwell@accenture.com>
Fri, 24 Sep 2010 13:30:20 +0100
branchgraphics-phase-3
changeset 114 19c4533e1567
parent 109 ae83407e7b6a
parent 93 07b904f40417
permissions -rw-r--r--
Merged default branch into graphics-phase-3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
74
eb3d0111f868 start nvmemory
jahyvone@4FIL49437
parents:
diff changeset
     1
#ifndef PLATFORMTYPES_H
eb3d0111f868 start nvmemory
jahyvone@4FIL49437
parents:
diff changeset
     2
#define PLATFORMTYPES_H
93
07b904f40417 Provisional fix for bug 3508 - Persistent storage support breaks Linux compatibility.
Mike Kinghan <mikek@symbian.org>
parents: 74
diff changeset
     3
#ifdef HAVE_STDINT_H
07b904f40417 Provisional fix for bug 3508 - Persistent storage support breaks Linux compatibility.
Mike Kinghan <mikek@symbian.org>
parents: 74
diff changeset
     4
#include <stdint.h>
07b904f40417 Provisional fix for bug 3508 - Persistent storage support breaks Linux compatibility.
Mike Kinghan <mikek@symbian.org>
parents: 74
diff changeset
     5
#else
74
eb3d0111f868 start nvmemory
jahyvone@4FIL49437
parents:
diff changeset
     6
// TODO: We should have a proper type definition file created common for standalone model libraries
eb3d0111f868 start nvmemory
jahyvone@4FIL49437
parents:
diff changeset
     7
typedef signed __int8         int8_t;
eb3d0111f868 start nvmemory
jahyvone@4FIL49437
parents:
diff changeset
     8
typedef signed __int16        int16_t;
eb3d0111f868 start nvmemory
jahyvone@4FIL49437
parents:
diff changeset
     9
typedef signed __int32        int32_t;
eb3d0111f868 start nvmemory
jahyvone@4FIL49437
parents:
diff changeset
    10
typedef signed __int64        int64_t;
eb3d0111f868 start nvmemory
jahyvone@4FIL49437
parents:
diff changeset
    11
typedef unsigned __int8     uint8_t;
eb3d0111f868 start nvmemory
jahyvone@4FIL49437
parents:
diff changeset
    12
typedef unsigned __int8     u_int8_t;
eb3d0111f868 start nvmemory
jahyvone@4FIL49437
parents:
diff changeset
    13
typedef unsigned __int16    uint16_t;
eb3d0111f868 start nvmemory
jahyvone@4FIL49437
parents:
diff changeset
    14
typedef unsigned __int16    u_int16_t;
eb3d0111f868 start nvmemory
jahyvone@4FIL49437
parents:
diff changeset
    15
typedef unsigned __int32    uint32_t;
eb3d0111f868 start nvmemory
jahyvone@4FIL49437
parents:
diff changeset
    16
typedef unsigned __int32    u_int32_t;
eb3d0111f868 start nvmemory
jahyvone@4FIL49437
parents:
diff changeset
    17
typedef unsigned __int64    uint64_t;
eb3d0111f868 start nvmemory
jahyvone@4FIL49437
parents:
diff changeset
    18
typedef unsigned __int64    u_int64_t;
eb3d0111f868 start nvmemory
jahyvone@4FIL49437
parents:
diff changeset
    19
typedef unsigned char byte_t;
93
07b904f40417 Provisional fix for bug 3508 - Persistent storage support breaks Linux compatibility.
Mike Kinghan <mikek@symbian.org>
parents: 74
diff changeset
    20
#endif
07b904f40417 Provisional fix for bug 3508 - Persistent storage support breaks Linux compatibility.
Mike Kinghan <mikek@symbian.org>
parents: 74
diff changeset
    21
74
eb3d0111f868 start nvmemory
jahyvone@4FIL49437
parents:
diff changeset
    22
eb3d0111f868 start nvmemory
jahyvone@4FIL49437
parents:
diff changeset
    23
#endif // PLATFORMTYPES_H