summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2001-06-26 22:59:49 (GMT)
committerFredrik Lundh <fredrik@pythonware.com>2001-06-26 22:59:49 (GMT)
commit9b14ab367a2e6de589593be6b9bea6f688c17d60 (patch)
treeb9108a661fd7b9542a1129890188b4b261c9b41e /Include
parentac93bc250128105ff4c5f2c9d30027dbb0486db7 (diff)
downloadcpython-9b14ab367a2e6de589593be6b9bea6f688c17d60.zip
cpython-9b14ab367a2e6de589593be6b9bea6f688c17d60.tar.gz
cpython-9b14ab367a2e6de589593be6b9bea6f688c17d60.tar.bz2
Make Unicode work a bit better on Windows...
Diffstat (limited to 'Include')
-rw-r--r--Include/unicodeobject.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index 32002e0..87e01af 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -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