summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 2 insertions, 0 deletions
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 @@ void _PyUnicode_Init(void)
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;