[Python-checkins] CVS: python/dist/src/PC config.h,1.54,1.55

Fredrik Lundh effbot@users.sourceforge.net
Wed, 27 Jun 2001 12:49:19 -0700


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

Modified Files:
	config.h 
Log Message:


make wchar_t usable again on Windows (this enables the MBCS codecs)


Index: config.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/config.h,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -r1.54 -r1.55
*** config.h	2001/06/26 22:59:49	1.54
--- config.h	2001/06/27 19:49:17	1.55
***************
*** 494,497 ****
--- 494,504 ----
  #define Py_UNICODE_SIZE SIZEOF_SHORT
  
+ /* Define if you have a useable wchar_t type defined in wchar.h; useable
+    means wchar_t must be 16-bit unsigned type. (see
+    Include/unicodeobject.h). */
+ #if Py_UNICODE_SIZE == 2
+ #define HAVE_USABLE_WCHAR_T
+ #endif
+ 
  /* Define if you want cycle garbage collection */
  #define WITH_CYCLE_GC 1