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