Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bab9559

Browse files
committed
Include wctype.h.
1 parent 19ff446 commit bab9559

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Objects/stringobject.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ static PyStringObject *nullstring;
2626
static PyObject *interned;
2727

2828

29-
#if defined(HAVE_MBTOWC) && defined(HAVE_WCHAR_H)
29+
#if defined(HAVE_MBTOWC) && defined(HAVE_WCHAR_H) && defined(HAVE_WCTYPE_H)
3030
# define PRINT_MULTIBYTE_STRING
3131
# include <locale.h>
3232
# include <wchar.h>
33+
# include <wctype.h>
3334
# if defined(HAVE_ISWPRINT)
3435
# define _isprint iswprint
3536
# else

0 commit comments

Comments
 (0)