X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fctype%2Fisdigit.c;h=36be03728f961d400316e2591faf8bcc8509a809;hb=ed01ab8d9fcc47f6a4089ef72a73ef7a084d1ed3;hp=eeeffb874993b3c86204d5e0567870cf3c281235;hpb=3a92b78272cd3f0f413bb1cfc0c77deef49967fd;p=pdclib.old diff --git a/functions/ctype/isdigit.c b/functions/ctype/isdigit.c index eeeffb8..36be037 100644 --- a/functions/ctype/isdigit.c +++ b/functions/ctype/isdigit.c @@ -9,10 +9,11 @@ #include #ifndef REGTEST +#include <_PDCLIB_locale.h> int isdigit( int c ) { - return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_DIGIT ); + return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_DIGIT ); } #endif