mirror of https://github.com/python/cpython
Always define Py_USING_UNICODE, 3rd party software may depend on it. A missing declaration can lead to strange bugs as I had to learn the hard way in the upcoming merge
This commit is contained in:
parent
3b06e5378a
commit
0625e89771
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue