experimental UCS-4 support: added USE_UCS4_STORAGE define to
unicodeobject.h, which forces sizeof(Py_UNICODE) == sizeof(Py_UCS4).
(this may be good enough for platforms that doesn't have a 16-bit
type. the UTF-16 codecs don't work, though)
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index c62f65b..742c770 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -5282,9 +5282,11 @@
int i;
/* Doublecheck the configuration... */
+#ifndef USE_UCS4_STORAGE
if (sizeof(Py_UNICODE) != 2)
Py_FatalError("Unicode configuration error: "
"sizeof(Py_UNICODE) != 2 bytes");
+#endif
/* Init the implementation */
unicode_freelist = NULL;