]> pd.if.org Git - pdclib/blobdiff - functions/ctype/isdigit.c
Moved ctype info into struct lconv.
[pdclib] / functions / ctype / isdigit.c
index eeeffb874993b3c86204d5e0567870cf3c281235..b122f7ec5362434c48f80f44dac763da93a2ed23 100644 (file)
 
 #ifndef REGTEST
 
+#include <locale.h>
+
 int isdigit( int c )
 {
-    return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_DIGIT );
+    return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_DIGIT );
 }
 
 #endif