Moved ctype info into struct lconv.
[fw/pdclib] / functions / ctype / isspace.c
index 90b6dc57ad28f45c29a4dbd60f3b1a9bebce9ccd..b443f6fc4acb7ff355982e3743454b042166941a 100644 (file)
 
 #ifndef REGTEST
 
+#include <locale.h>
+
 int isspace( int c )
 {
-    return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_SPACE );
+    return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_SPACE );
 }
 
 #endif