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