X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=functions%2Fctype%2Fisblank.c;h=fe2a51b21ffd49879728d7b27ef6be05f3df0905;hp=cc29fa849048df2b19588b797efc92bc60e6b6bb;hb=ed01ab8d9fcc47f6a4089ef72a73ef7a084d1ed3;hpb=fd89f130aedf49fbdb3e4f5a24c9cedb56eea22e diff --git a/functions/ctype/isblank.c b/functions/ctype/isblank.c index cc29fa8..fe2a51b 100644 --- a/functions/ctype/isblank.c +++ b/functions/ctype/isblank.c @@ -9,12 +9,11 @@ #include #ifndef REGTEST - -#include +#include <_PDCLIB_locale.h> int isblank( int c ) { - return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_BLANK ); + return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_BLANK ); } #endif