X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fctype%2Ftolower.c;h=a77001ef8e687fdbbddd10209e8d9fc94f9b1690;hb=0c13662a438dc9306daace1412c9d330cfd0cf46;hp=d051ba5c67e7ce257c3409f58ede8785b1d77644;hpb=31bc073732a9303dd6f4813f0408cb2b9fcd0add;p=pdclib diff --git a/functions/ctype/tolower.c b/functions/ctype/tolower.c index d051ba5..a77001e 100644 --- a/functions/ctype/tolower.c +++ b/functions/ctype/tolower.c @@ -9,12 +9,11 @@ #include #ifndef REGTEST - -#include +#include <_PDCLIB_locale.h> int tolower( int c ) { - return _PDCLIB_lconv.ctype[c].lower; + return _PDCLIB_threadlocale()->_CType[c].lower; } #endif