Re: [AD] Windows unicode filename support

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Evert Glebbeek wrote:
On Thursday 20 April 2006 06:34, Victor wrote:
Can we use wchar_t? This wouldn't introduce compatibility problems (eg:
VC++, BCC or Watcom) or issues like "allegro must be C89"?

wchar_t is C89, judging by by copy of K&R, so it should be fine.


MSVC7,8 has an option /Zc:wchar_t to set it as a built in type (perhaps msvc6 does too) else i presume if its not a built in type, it will be defined in header files.


from msvc7.1
ctype.h

#ifndef _WCHAR_T_DEFINED
typedef unsigned short wchar_t;
#define _WCHAR_T_DEFINED
#endif





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/