[Scummvm-cvs-logs] CVS: scummvm scummsys.h,1.19,1.20
Mutwin Kraus
mutle at users.sourceforge.net
Fri Mar 8 09:09:34 CET 2002
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv31489/scummvm
Modified Files:
scummsys.h
Log Message:
Some changes, need to be done to get the Mac Port running. For example Point is now called ScummPoint, as the name Point is already in use by Apple.
Index: scummsys.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scummsys.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** scummsys.h 24 Feb 2002 16:23:44 -0000 1.19
--- scummsys.h 8 Mar 2002 17:04:57 -0000 1.20
***************
*** 140,143 ****
--- 140,171 ----
#endif
+ #elif defined(__APPLE__CW)
+ #include <stdlib.h>
+ #include <stdio.h>
+
+ #define scumm_stricmp strcmp
+ inline char* strdup(char *buf) {return (char*)buf;};
+
+ #define CHECK_HEAP
+ #define SCUMM_BIG_ENDIAN
+
+ #define FORCEINLINE inline
+ #define CDECL
+
+ typedef unsigned char byte;
+ typedef unsigned char uint8;
+ typedef unsigned short uint16;
+ typedef unsigned long uint32;
+ typedef unsigned int uint;
+ typedef signed char int8;
+ typedef signed short int16;
+ typedef signed long int32;
+
+ #define START_PACK_STRUCTS pack (1)
+ #define END_PACK_STRUCTS pack ()
+ #define GCC_PACK
+ #define NORETURN
+ #define NEED_STRDUP
+
#elif defined(__DC__)
More information about the Scummvm-git-logs
mailing list