Make Unicode work a bit better on Windows...

This commit is contained in:
Fredrik Lundh 2001-06-26 22:59:49 +00:00
parent ac93bc2501
commit 9b14ab367a
2 changed files with 17 additions and 0 deletions

View file

@ -58,6 +58,14 @@ Copyright (c) Corporation for National Research Initiatives.
/* --- Internal Unicode Format -------------------------------------------- */
/* FIXME: MvL's new implementation assumes that Py_UNICODE_SIZE is
properly set, but the default rules below doesn't set it. I'll
sort this out some other day -- fredrik@pythonware.com */
#ifndef Py_UNICODE_SIZE
#error Must define Py_UNICODE_SIZE
#endif
/* experimental UCS-4 support. enable at your own risk! */
#undef USE_UCS4_STORAGE
#if Py_UNICODE_SIZE == 4