[Python-checkins] python/dist/src/Objects stringobject.c,2.190,2.191

loewis@users.sourceforge.net loewis@users.sourceforge.net
2002年10月07日 11:26:19 -0700


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv23766
Modified Files:
	stringobject.c 
Log Message:
Include wctype.h.
Index: stringobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/stringobject.c,v
retrieving revision 2.190
retrieving revision 2.191
diff -C2 -d -r2.190 -r2.191
*** stringobject.c	7 Oct 2002 13:55:50 -0000	2.190
--- stringobject.c	7 Oct 2002 18:26:16 -0000	2.191
***************
*** 27,34 ****
 
 
! #if defined(HAVE_MBTOWC) && defined(HAVE_WCHAR_H)
 # define PRINT_MULTIBYTE_STRING
 # include <locale.h>
 # include <wchar.h>
 # if defined(HAVE_ISWPRINT)
 # define _isprint iswprint
--- 27,35 ----
 
 
! #if defined(HAVE_MBTOWC) && defined(HAVE_WCHAR_H) && defined(HAVE_WCTYPE_H)
 # define PRINT_MULTIBYTE_STRING
 # include <locale.h>
 # include <wchar.h>
+ # include <wctype.h>
 # if defined(HAVE_ISWPRINT)
 # define _isprint iswprint

AltStyle によって変換されたページ (->オリジナル) /