--- np2/wince/wce/compiler.h 2004/07/15 13:48:40 1.15 +++ np2/wince/wce/compiler.h 2005/03/19 21:02:05 1.18 @@ -44,10 +44,22 @@ typedef signed int SINT32; #define HIGH16(a) (((UINT32)(a)) >> 16) +#define BRESULT UINT8 +#if defined(OSLANG_UCS2) +#define OEMCHAR TCHAR +#define OEMTEXT(string) _T(string) +#define OEMSPRINTF wsprintf +#define OEMSTRLEN lstrlen +#else +#define OEMCHAR char +#define OEMTEXT(string) string +#define OEMSPRINTF sprintf +#define OEMSTRLEN strlen +#endif + + #include "common.h" -#include "oemtext.h" #include "milstr.h" -#include "ucscnv.h" #include "_memory.h" #include "rect.h" #include "lstarray.h" @@ -55,9 +67,9 @@ typedef signed int SINT32; #define GETTICK() GetTickCount() +#define __ASSERT(s) #define SPRINTF sprintf #define STRLEN strlen -#define __ASSERT(s) #if defined(WIN32_PLATFORM_PSPC) #define MENU_TASKMINIMIZE