aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Persson2006-04-05 07:09:47 +0000
committerLars Persson2006-04-05 07:09:47 +0000
commit25e19148bd46958a90a3c333da30aeb71b0c43d8 (patch)
treeddcfbe10bd0105addf16fb88688079f71cbaa70b
parentbaf2a06e0a283849b934105e924cad1081298e76 (diff)
downloadscummvm-rg350-25e19148bd46958a90a3c333da30aeb71b0c43d8.tar.gz
scummvm-rg350-25e19148bd46958a90a3c333da30aeb71b0c43d8.tar.bz2
scummvm-rg350-25e19148bd46958a90a3c333da30aeb71b0c43d8.zip
Updated datatypes for Symbian OS
svn-id: r21628
-rw-r--r--common/scummsys.h17
1 files 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