]> granicus.if.org Git - python/commitdiff
Always define Py_USING_UNICODE, 3rd party software may depend on it. A missing declar...
authorChristian Heimes <christian@cheimes.de>
Mon, 7 Jan 2008 21:04:21 +0000 (21:04 +0000)
committerChristian Heimes <christian@cheimes.de>
Mon, 7 Jan 2008 21:04:21 +0000 (21:04 +0000)
Include/unicodeobject.h

index 8a4e6a2acfd50a44bf6f10d18c41274e10375f5d..106228d75571442284ffc774f411febfc8ecff54 100644 (file)
@@ -58,6 +58,9 @@ Copyright (c) Corporation for National Research Initiatives.
 
 /* --- Internal Unicode Format -------------------------------------------- */
 
+/* Python 3.x requires unicode */
+#define Py_USING_UNICODE 
+
 /* 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 */