1*b30d1939SAndy Fiddamanhdr locale,wchar,wctype 2da2e3ebdSchinlib locale,localeconv,wctype,iswctype,iswblank 3*b30d1939SAndy Fiddamanlib wctrans,towctrans wctype.h 4*b30d1939SAndy Fiddamantyp wctrans_t wctype.h 5da2e3ebdSchincat{ 6da2e3ebdSchin #if _PACKAGE_ast 7da2e3ebdSchin # undef _hdr_locale 8da2e3ebdSchin # define _hdr_locale 1 9da2e3ebdSchin #else 10da2e3ebdSchin # ifdef _hdr_locale 11da2e3ebdSchin # include <locale.h> 12da2e3ebdSchin # ifndef LC_MESSAGES 13da2e3ebdSchin # define LC_MESSAGES LC_ALL 14da2e3ebdSchin # endif /* LC_MESSAGES */ 15da2e3ebdSchin # endif /* _hdr_locale */ 16da2e3ebdSchin #endif /* _PACKAGE_ast */ 17da2e3ebdSchin #ifdef _hdr_locale 18da2e3ebdSchin # ifdef _lib_localeconv 19da2e3ebdSchin static struct lconv *lp; 20da2e3ebdSchin # define GETDECIMAL(x) (((lp=localeconv()) && lp->decimal_point && *lp->decimal_point) ? *lp->decimal_point : '.' ) 21da2e3ebdSchin # else 22da2e3ebdSchin # define GETDECIMAL(x) ('.') 23da2e3ebdSchin # endif /* _lib_localeconv */ 24da2e3ebdSchin #else 25da2e3ebdSchin # define GETDECIMAL(x) ('.') 26da2e3ebdSchin #endif /* _hdr_locale */ 27da2e3ebdSchin}end 28