John Lowe <[EMAIL PROTECTED]> writes:

> strftime.c:63: header file 'wchar.h' not found

Does the following patch to lib/strftime.c fix things for you?

--- strftime.c  2003-09-29 23:44:01 -0700
+++ /tmp/strftime.c     2004-11-08 09:53:22 -0800
@@ -56,10 +56,10 @@ extern char *tzname[];
    conversion specifications.  The GNU C Library uses UTF8 multibyte
    encoding, which is safe for formats, but strftime.c can be used
    with other C libraries that use unsafe encodings.  */
-#define DO_MULTIBYTE (HAVE_MBLEN && ! MULTIBYTE_IS_FORMAT_SAFE)
+#define DO_MULTIBYTE (HAVE_MBLEN && HAVE_WCHAR_H && ! MULTIBYTE_IS_FORMAT_SAFE)
 
 #if DO_MULTIBYTE
-# if HAVE_MBRLEN
+# if HAVE_MBRLEN && HAVE_WCHAR_H
 #  include <wchar.h>
 # else
    /* Simulate mbrlen with mblen as best we can.  */


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to