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