diff options
Diffstat (limited to 'common/scummsys.h')
-rw-r--r-- | common/scummsys.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/common/scummsys.h b/common/scummsys.h index f0cf21ae46..b2952dd72c 100644 --- a/common/scummsys.h +++ b/common/scummsys.h @@ -68,7 +68,7 @@ typedef signed char int8; typedef signed short int16; typedef signed long int32; - + #define START_PACK_STRUCTS pack(push, 1) #define END_PACK_STRUCTS pack(pop) @@ -108,14 +108,14 @@ #ifndef CONFIG_H #ifdef X11_BACKEND - + // You need to set this manually if necessary // #define SCUMM_LITTLE_ENDIAN - + #else /* need this for the SDL_BYTEORDER define */ #include <SDL_byteorder.h> - + #if SDL_BYTEORDER == SDL_LIL_ENDIAN #define SCUMM_LITTLE_ENDIAN #elif SDL_BYTEORDER == SDL_BIG_ENDIAN @@ -155,12 +155,12 @@ #include <PalmOS.h> #include "globals.h" #include "extend.h" - + #define STRINGBUFLEN 256 #define scumm_stricmp stricmp #define scumm_strnicmp strnicmp - + #define SCUMM_BIG_ENDIAN #define SCUMM_NEED_ALIGNMENT @@ -172,7 +172,7 @@ typedef signed char int8; typedef signed short int16; typedef signed long int32; - + #define START_PACK_STRUCTS pack (1) #define END_PACK_STRUCTS pack () @@ -222,7 +222,7 @@ #elif defined __GP32__ //ph0x #define SCUMM_NEED_ALIGNMENT - #define SCUMM_LITTLE_ENDIAN + #define SCUMM_LITTLE_ENDIAN #define scumm_stricmp stricmp #define scumm_strnicmp strnicmp @@ -242,7 +242,7 @@ #define END_PACK_STRUCTS pack(pop) #elif defined __PLAYSTATION2__ #define SCUMM_NEED_ALIGNMENT - #define SCUMM_LITTLE_ENDIAN + #define SCUMM_LITTLE_ENDIAN #define scumm_stricmp strcasecmp #define scumm_strnicmp strncasecmp @@ -300,12 +300,12 @@ #define scumm_stricmp strcasecmp #define scumm_strnicmp strncasecmp - #define CDECL + #define CDECL #define SCUMM_NEED_ALIGNMENT - #define SCUMM_LITTLE_ENDIAN + #define SCUMM_LITTLE_ENDIAN #define CHECK_HEAP #define SMALL_SCREEN_DEVICE - + #define FORCEINLINE inline #define _HEAPOK 0 typedef unsigned char byte; @@ -316,7 +316,7 @@ typedef signed char int8; typedef signed short int int16; typedef signed long int int32; - + #define START_PACK_STRUCTS pack (push,1) #define END_PACK_STRUCTS pack(pop) #else @@ -329,7 +329,7 @@ // #if defined(__GNUC__) #define GCC_PACK __attribute__((packed)) - #define NORETURN __attribute__((__noreturn__)) + #define NORETURN __attribute__((__noreturn__)) #else #define GCC_PACK #endif |