--- np2/wince/w32/compiler.h 2004/06/14 13:35:40 1.15 +++ np2/wince/w32/compiler.h 2004/06/21 02:01:33 1.19 @@ -3,8 +3,11 @@ #include #include + #define BYTESEX_LITTLE +#if !defined(UNICODE) #define OSLANG_SJIS +#endif #define OSLINEBREAK_CRLF @@ -36,7 +39,9 @@ typedef unsigned int UINT32; #include "common.h" +#include "oemtext.h" #include "milstr.h" +#include "ucscnv.h" #include "_memory.h" #include "rect.h" #include "lstarray.h" @@ -46,8 +51,10 @@ typedef unsigned int UINT32; #define GETTICK() GetTickCount() #if defined(UNICODE) #define SPRINTF sprintf +#define STRLEN strlen #else #define SPRINTF wsprintf +#define STRLEN lstrlen #endif #define __ASSERT(s) @@ -55,6 +62,9 @@ typedef unsigned int UINT32; #define SOUND_CRITICAL #define SUPPORT_SJIS +#if defined(OSLANG_UTF8) +#define SUPPORT_UTF8 +#endif #define SUPPORT_16BPP #define MEMOPTIMIZE 2