From: Victor Stinner Date: Wed, 28 Sep 2011 18:29:27 +0000 (+0200) Subject: Set Py_UNICODE_REPLACEMENT_CHARACTER type to Py_UCS4, instead of Py_UNICODE X-Git-Tag: v3.3.0a1~1476 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ce1b0dbc0fbad355086882ebb54f1aebc6b7163;p=thirdparty%2FPython%2Fcpython.git Set Py_UNICODE_REPLACEMENT_CHARACTER type to Py_UCS4, instead of Py_UNICODE --- diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index b35a2411a279..dbd4fd8ad01c 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -506,7 +506,7 @@ PyAPI_DATA(PyTypeObject) PyUnicodeIter_Type; Unicode character U+FFFD is the official REPLACEMENT CHARACTER in Unicode 3.0. */ -#define Py_UNICODE_REPLACEMENT_CHARACTER ((Py_UNICODE) 0xFFFD) +#define Py_UNICODE_REPLACEMENT_CHARACTER ((Py_UCS4) 0xFFFD) /* === Public API ========================================================= */