symbian-qemu-0.9.1-12/model-libraries/commoninc/platformtypes.h
author Gareth Stockwell <gareth.stockwell@accenture.com>
Tue, 14 Sep 2010 17:21:05 +0100
branchgraphics-phase-3
changeset 109 ae83407e7b6a
child 114 19c4533e1567
permissions -rw-r--r--
Added Makefile for building syborg-graphicswrapper using GCC At present the build fails due to the following missing headers: KhronosAPIWrapper.h VirtualVideoInterfaceConstants.h platformthreading.h protocol_MGraphicsVHWCallback.h
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
109
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
     1
#ifndef PLATFORMTYPES_H
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
     2
#define PLATFORMTYPES_H
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
     3
#ifdef HAVE_STDINT_H
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
     4
#include <stdint.h>
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
     5
#else
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
     6
// TODO: We should have a proper type definition file created common for standalone model libraries
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
     7
typedef signed __int8         int8_t;
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
     8
typedef signed __int16        int16_t;
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
     9
typedef signed __int32        int32_t;
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    10
typedef signed __int64        int64_t;
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    11
typedef unsigned __int8     uint8_t;
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    12
typedef unsigned __int8     u_int8_t;
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    13
typedef unsigned __int16    uint16_t;
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    14
typedef unsigned __int16    u_int16_t;
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    15
typedef unsigned __int32    uint32_t;
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    16
typedef unsigned __int32    u_int32_t;
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    17
typedef unsigned __int64    uint64_t;
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    18
typedef unsigned __int64    u_int64_t;
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    19
typedef unsigned char byte_t;
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    20
#endif
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    21
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    22
ae83407e7b6a Added Makefile for building syborg-graphicswrapper using GCC
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff changeset
    23
#endif // PLATFORMTYPES_H