]>
git.saurik.com Git - wxWidgets.git/blob - docs/metrowerks/wchar_t_panther_fix/machine/ansi.h
3 * ©2000-2002 Metrowerks Corporation. All rights reserved.
5 * Content: wchar_t overrides for OS X
15 #elif defined (__i386__)
16 #include <i386/ansi.h>
18 #error architecture not supported
21 #ifndef _BSD_WCHAR_T_DEFINED_
22 #define _BSD_WCHAR_T_DEFINED_
24 #if !__cplusplus || !__option(wchar_type)
27 #define __WCHAR_TYPE__ int
30 #define __WCHAR_TYPE__ wchar_t
34 #define _BSD_WCHAR_T_ __WCHAR_TYPE__ /* wchar_t */
37 #define _BSD_RUNE_T_ __WCHAR_TYPE__ /* rune_t */
40 #define WCHAR_MIN ((wchar_t) 0x80000000U)
41 #define WCHAR_MAX ((wchar_t) 0x7FFFFFFFU)
44 typedef wchar_t wint_t;
45 typedef wchar_t wctype_t;
46 #if 0 // 10.3 headers declare mbstate_t as union
47 typedef int mbstate_t;
49 typedef wchar_t Wint_t
;
54 typedef _BSD_WCHAR_T_ rune_t
;
58 #endif /* _MW_ANSI_H_ */