summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-07-02 15:34:57 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-07-02 15:34:57 (GMT)
commit4542897d96d4d00f45e6fc8cc72fb09af20f3c96 (patch)
treecb69a75153eacd5104284eb1f5d0155e6f63eb6b /Mac
parent683ecc7374fd5ab05b03565b0f1191419fd9ae1a (diff)
downloadcpython-4542897d96d4d00f45e6fc8cc72fb09af20f3c96.zip
cpython-4542897d96d4d00f45e6fc8cc72fb09af20f3c96.tar.gz
cpython-4542897d96d4d00f45e6fc8cc72fb09af20f3c96.tar.bz2
Added the new unicode defines. Not really tested yet, but Python compiles again at least.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Include/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Mac/Include/config.h b/Mac/Include/config.h
index 012929d..4158873 100644
--- a/Mac/Include/config.h
+++ b/Mac/Include/config.h
@@ -199,6 +199,15 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* Define if the compiler provides a wchar.h header file. */
#define HAVE_WCHAR_H 1
+/* Define if you want to have a Unicode type. */
+#define Py_USING_UNICODE 1
+
+/* Define as the integral type used for Unicode representation. */
+#define PY_UNICODE_TYPE wchar_t
+
+/* Define as the size of the unicode type. */
+#define Py_UNICODE_SIZE 2
+
/* Define if malloc(0) returns a NULL pointer */
#ifdef USE_MSL_MALLOC
#define MALLOC_ZERO_RETURNS_NULL