aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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