make wchar_t usable again on Windows (this enables the MBCS codecs)

This commit is contained in:
Fredrik Lundh 2001-06-27 19:49:17 +00:00
parent 5755ce693d
commit 793c1972fe
1 changed files with 7 additions and 0 deletions

View File

@ -493,6 +493,13 @@ typedef unsigned long uintptr_t;
/* Define as the size of the unicode type. */
#define Py_UNICODE_SIZE SIZEOF_SHORT
/* Define if you have a useable wchar_t type defined in wchar.h; useable
means wchar_t must be 16-bit unsigned type. (see
Include/unicodeobject.h). */
#if Py_UNICODE_SIZE == 2
#define HAVE_USABLE_WCHAR_T
#endif
/* Define if you want cycle garbage collection */
#define WITH_CYCLE_GC 1