X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=functions%2Fctype%2Ftolower.c;h=a77001ef8e687fdbbddd10209e8d9fc94f9b1690;hp=d051ba5c67e7ce257c3409f58ede8785b1d77644;hb=ed01ab8d9fcc47f6a4089ef72a73ef7a084d1ed3;hpb=fd89f130aedf49fbdb3e4f5a24c9cedb56eea22e 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