X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=functions%2Fctype%2Fisalpha.c;h=147fd5eb14e82b4ab59f991dcdacb5d6b2f897f6;hp=9dad397ea44798a7788932a6ec1a73ee60e56b8a;hb=ed01ab8d9fcc47f6a4089ef72a73ef7a084d1ed3;hpb=fd89f130aedf49fbdb3e4f5a24c9cedb56eea22e diff --git a/functions/ctype/isalpha.c b/functions/ctype/isalpha.c index 9dad397..147fd5e 100644 --- a/functions/ctype/isalpha.c +++ b/functions/ctype/isalpha.c @@ -9,12 +9,11 @@ #include #ifndef REGTEST - -#include +#include <_PDCLIB_locale.h> int isalpha( int c ) { - return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_ALPHA ); + return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_ALPHA ); } #endif