From 111800aab93414500c3ca7081c7eb1aa20ff4263 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sat, 8 Jan 2005 13:40:14 +0000 Subject: [PATCH] *** empty log message *** --- ase/types.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/ase/types.h b/ase/types.h index 09c191e5..4900191f 100644 --- a/ase/types.h +++ b/ase/types.h @@ -1,17 +1,16 @@ /* - * $Id: types.h,v 1.7 2005-01-08 12:25:59 bacon Exp $ + * $Id: types.h,v 1.8 2005-01-08 13:40:14 bacon Exp $ */ #ifndef _XP_TYPES_H_ #define _XP_TYPES_H_ -#ifdef _WIN32 -#else #include -#endif typedef xp_uint8_t xp_byte_t; +#ifdef XP_HAVE_WCHAR_T +// TODO: make it configurable from outside /* #define XP_CHAR_IS_MCHAR typedef xp_mchar_t xp_char_t; @@ -22,4 +21,10 @@ typedef xp_mcint_t xp_cint_t; typedef xp_wchar_t xp_char_t; typedef xp_wcint_t xp_cint_t; +#else +#define XP_CHAR_IS_MCHAR +typedef xp_mchar_t xp_char_t; +typedef xp_mcint_t xp_cint_t; +#endif + #endif