]> pd.if.org Git - pdclib.old/blobdiff - functions/ctype/isblank.c
PDCLIB-1 PDCLIB-2 PDCLIB-9 PDCLIB-12: Add thread specific locale support; migrate...
[pdclib.old] / functions / ctype / isblank.c
index 0ad1ca1ab039bda704221e879dc61689be8b9295..fe2a51b21ffd49879728d7b27ef6be05f3df0905 100644 (file)
@@ -9,10 +9,11 @@
 #include <ctype.h>
 
 #ifndef REGTEST
+#include <_PDCLIB_locale.h>
 
 int isblank( int c )
 {
-    return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_BLANK );
+    return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_BLANK );
 }
 
 #endif