X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fctype%2Ftolower.c;h=a77001ef8e687fdbbddd10209e8d9fc94f9b1690;hb=ed01ab8d9fcc47f6a4089ef72a73ef7a084d1ed3;hp=530abf2a9e6bfcf7a94e69b3b3f8f243d53ebe1a;hpb=3a92b78272cd3f0f413bb1cfc0c77deef49967fd;p=pdclib.old diff --git a/functions/ctype/tolower.c b/functions/ctype/tolower.c index 530abf2..a77001e 100644 --- a/functions/ctype/tolower.c +++ b/functions/ctype/tolower.c @@ -9,10 +9,11 @@ #include #ifndef REGTEST +#include <_PDCLIB_locale.h> int tolower( int c ) { - return _PDCLIB_locale_info.ctype[c].lower; + return _PDCLIB_threadlocale()->_CType[c].lower; } #endif