[Python-checkins] CVS: python/dist/src/Mac/Include config.h,1.32,1.33
Jack Jansen
jackjansen@users.sourceforge.net
Mon, 02 Jul 2001 08:34:59 -0700
Update of /cvsroot/python/python/dist/src/Mac/Include
In directory usw-pr-cvs1:/tmp/cvs-serv13667/python/Mac/Include
Modified Files:
config.h
Log Message:
Added the new unicode defines. Not really tested yet, but Python compiles again at least.
Index: config.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Include/config.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** config.h 2001/05/23 08:55:50 1.32
--- config.h 2001/07/02 15:34:57 1.33
***************
*** 200,203 ****
--- 200,212 ----
#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