--- np2/sdl/win32s/compiler.h 2004/02/18 03:56:57 1.4 +++ np2/sdl/win32s/compiler.h 2005/02/11 21:17:22 1.7 @@ -5,7 +5,7 @@ #define SLZAURUS #define BYTESEX_LITTLE -#define OSLANG_SJIS +#define OSLANG_EUC #define OSLINEBREAK_CRLF @@ -25,6 +25,11 @@ typedef unsigned short UINT16; typedef signed int SINT32; #endif +#define BRESULT UINT8 +#define OEMCHAR char +#define OEMTEXT(string) (string) +#define OEMSPRINTF sprintf +#define OEMSTRLEN strlen #if !defined(SIZE_VGA) #define RGB16 UINT32 @@ -34,20 +39,22 @@ typedef signed int SINT32; #include "common.h" #include "milstr.h" +#include "codecnv.h" #include "_memory.h" #include "rect.h" #include "lstarray.h" #include "trace.h" -#define GETTICK() SDL_GetTicks() -#define SPRINTF sprintf +#define GETTICK() SDL_GetTicks() #define __ASSERT(s) +#define SPRINTF sprintf +#define STRLEN strlen #define VERMOUTH_LIB // #define SOUND_CRITICAL -#define SUPPORT_SJIS +#define SUPPORT_EUC #define SUPPORT_16BPP #define MEMOPTIMIZE 2 @@ -56,6 +63,7 @@ typedef signed int SINT32; #define SUPPORT_CRT15KHZ #define SUPPORT_HOSTDRV +#define SUPPORT_SWSEEKSND #define SUPPORT_SASI #define SUPPORT_SCSI