# HG changeset patch # User Bruno Haible # Date 1166804846 0 # Node ID 14932dd36171742b15d74baec0e0e9f60cdf69a3 # Parent 923b69d92e467fc543d617f3ceed33aad1867cbf Add comments. diff --git a/lib/wctype_.h b/lib/wctype_.h --- a/lib/wctype_.h +++ b/lib/wctype_.h @@ -18,13 +18,19 @@ /* Written by Bruno Haible and Paul Eggert. */ -/* iswctype, towctrans, towlower, towupper, wctrans, wctype, - wctrans_t, and wctype_t are not yet implemented. */ +/* + * ISO C 99 for platforms that lack it. + * + * + * iswctype, towctrans, towlower, towupper, wctrans, wctype, + * wctrans_t, and wctype_t are not yet implemented. + */ #ifndef _GL_WCTYPE_H #define _GL_WCTYPE_H -/* Tru64 with Desktop Toolkit C has a bug: must be included before +/* Solaris 2.5 has a bug: must be included before . + Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.1 has a bug: and must be included before . */ @@ -32,10 +38,14 @@ #include #include +/* Include the original if it exists. + BeOS 5 has the functions but no . */ #if @HAVE_WCTYPE_H@ # include @ABSOLUTE_WCTYPE_H@ #endif +/* IRIX 5.3 has a bug: its isw* macros reference an undefined variable + _ctmp_. */ #if @HAVE_WCTYPE_CTMP_BUG@ static wint_t _ctmp_; #endif diff --git a/m4/wctype.m4 b/m4/wctype.m4 --- a/m4/wctype.m4 +++ b/m4/wctype.m4 @@ -27,6 +27,8 @@ WCTYPE_H=wctype.h HAVE_WCTYPE_CTMP_BUG=0 if test $ac_cv_header_wctype_h = yes; then + dnl IRIX 5.3 has a bug: its isw* macros reference an undefined variable + dnl _ctmp_. Test against this bug. AC_CACHE_CHECK([whether wctype macros need _ctmp_ declared], [gl_cv_wctype_ctmp_bug], [gl_cv_wctype_ctmp_bug=no