From 4542897d96d4d00f45e6fc8cc72fb09af20f3c96 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Mon, 2 Jul 2001 15:34:57 +0000 Subject: [PATCH] Added the new unicode defines. Not really tested yet, but Python compiles again at least. --- Mac/Include/config.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Mac/Include/config.h b/Mac/Include/config.h index 012929d8727..415887342e6 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