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