--- np2/macos9/compiler.h 2003/10/23 07:20:43 1.1 +++ np2/macos9/compiler.h 2003/12/01 03:38:52 1.5 @@ -8,20 +8,26 @@ #define MACOS #define BYTESEX_BIG +#define OSLANG_SJIS +#define OSLINEBREAK_CR -typedef char TCHAR; -typedef unsigned char BYTE; -typedef int SINT; +typedef signed int SINT; typedef unsigned int UINT; -typedef short SINT16; +typedef signed char SINT8; +typedef unsigned char UINT8; + +typedef signed short SINT16; typedef unsigned short UINT16; -typedef int SINT32; +typedef signed int SINT32; typedef unsigned int UINT32; typedef Boolean BOOL; +typedef signed char TCHAR; +typedef signed char CHAR; +typedef unsigned char BYTE; #define MAX_PATH 260 @@ -43,11 +49,13 @@ typedef Boolean BOOL; #include "trace.h" #define GETTICK() macos_gettick() -#define GETRAND() rand() #define SPRINTF sprintf +#define __ASSERT(s) #define VERMOUTH_LIB -#define SOUND_CRITICAL +// #define SOUND_CRITICAL + +#define SUPPORT_SJIS // #define SUPPORT_8BPP #ifdef NP2GCC