[Python-checkins] CVS: python/dist/src/Include unicodeobject.h,2.23,2.24

Fredrik Lundh effbot@users.sourceforge.net
Tue, 26 Jun 2001 15:59:51 -0700


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv7485/Include

Modified Files:
	unicodeobject.h 
Log Message:


Make Unicode work a bit better on Windows...


Index: unicodeobject.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/unicodeobject.h,v
retrieving revision 2.23
retrieving revision 2.24
diff -C2 -r2.23 -r2.24
*** unicodeobject.h	2001/06/26 22:22:37	2.23
--- unicodeobject.h	2001/06/26 22:59:49	2.24
***************
*** 59,62 ****
--- 59,70 ----
  /* --- Internal Unicode Format -------------------------------------------- */
  
+ /* 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 */
+ 
+ #ifndef Py_UNICODE_SIZE
+ #error Must define Py_UNICODE_SIZE
+ #endif
+ 
  /* experimental UCS-4 support.  enable at your own risk! */
  #undef USE_UCS4_STORAGE