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