--- np2/x11/oemtext.h 2005/02/26 13:32:14 1.1 +++ np2/x11/oemtext.h 2005/02/26 14:13:01 1.2 @@ -3,8 +3,15 @@ extern "C" { #endif +#include "codecnv.h" + +#if 1 +#define oemtext_sjistooem codecnv_sjistoeuc +#define oemtext_oemtosjis codecnv_euctosjis +#else UINT oemtext_sjistooem(OEMCHAR *dst, UINT dcnt, const char *src, UINT scnt); UINT oemtext_oemtosjis(char *dst, UINT dcnt, const OEMCHAR *src, UINT scnt); +#endif #ifdef __cplusplus }