bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lib/mbchar.h uses <wctype.h> unconditionally


From: Albert Chin
Subject: lib/mbchar.h uses <wctype.h> unconditionally
Date: Sun, 9 Jul 2006 18:18:01 -0500
User-agent: Mutt/1.5.6i

<wctype.h> isn't available on HP-UX 10.20 nor 11.00.

2006-07-09  Albert Chin-A-Young  <address@hidden>

        * lib/mbchar.h: Use <wctype.h> only if available, not
        unconditonally.

-- 
albert chin (address@hidden)

-- snip snip
Index: lib/mbchar.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/mbchar.h,v
retrieving revision 1.3
diff -u -p -r1.3 mbchar.h
--- lib/mbchar.h        28 Jun 2006 13:11:03 -0000      1.3
+++ lib/mbchar.h        9 Jul 2006 23:16:12 -0000
@@ -156,7 +156,9 @@
 #include <time.h>
 #include <wchar.h>
 
-#include <wctype.h>
+#if HAVE_WCTYPE_H
+# include <wctype.h>
+#endif
 
 #include "wcwidth.h"
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]