Commit 793c1972 authored by Fredrik Lundh's avatar Fredrik Lundh

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

parent 5755ce69
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment