From 25e19148bd46958a90a3c333da30aeb71b0c43d8 Mon Sep 17 00:00:00 2001 From: Lars Persson Date: Wed, 5 Apr 2006 07:09:47 +0000 Subject: Updated datatypes for Symbian OS svn-id: r21628 --- common/scummsys.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/common/scummsys.h b/common/scummsys.h index e8bdb9ddac..7052b25c0e 100644 --- a/common/scummsys.h +++ b/common/scummsys.h @@ -299,17 +299,24 @@ #define SCUMM_LITTLE_ENDIAN #define SCUMM_NEED_ALIGNMENT + #define SCUMMVM_DONT_DEFINE_TYPES - // FIXME: Do you really need to use 'long' on this port? Please replace - // this comment with a new comment that states so, and ideally also - // explains the reasons briefly. - #define SCUMMVM_USE_LONG_INT - #define START_PACK_STRUCTS pack(push, 1) #define END_PACK_STRUCTS pack(pop) #define SMALL_SCREEN_DEVICE + typedef unsigned char byte; + + typedef unsigned char uint8; + typedef signed char int8; + + typedef unsigned short int uint16; + typedef signed short int int16; + + typedef unsigned long int uint32; + typedef signed long int int32; + #else #error No system type defined -- cgit v1.2.3