X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fctype%2Fisxdigit.c;h=e0b0f60b2ffafa2f0e219197ba1c8441d19b9c61;hb=d76803848725e4de75b019158fb640722c3ea28c;hp=7f5dfec4d97e4c05a90f99f52138ee471613bd21;hpb=31bc073732a9303dd6f4813f0408cb2b9fcd0add;p=pdclib diff --git a/functions/ctype/isxdigit.c b/functions/ctype/isxdigit.c index 7f5dfec..e0b0f60 100644 --- a/functions/ctype/isxdigit.c +++ b/functions/ctype/isxdigit.c @@ -9,12 +9,11 @@ #include #ifndef REGTEST - -#include +#include <_PDCLIB_locale.h> int isxdigit( int c ) { - return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_XDIGT ); + return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_XDIGT ); } #endif