diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-11-09 20:54:43 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-11-09 20:54:43 +0000 |
commit | 443e4a90260cd950616e6921263904aa9f5569f8 (patch) | |
tree | 27e95ebcb787d543934f4b4a5f680815f4799ad0 /lib | |
parent | 3b9295c31958b6a93985872184e93d9231aba42b (diff) | |
download | coreutils-443e4a90260cd950616e6921263904aa9f5569f8.tar.xz |
Sync from gnulib.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/strftime.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/strftime.c b/lib/strftime.c index dccbaf7a1..2ef27c22a 100644 --- a/lib/strftime.c +++ b/lib/strftime.c @@ -1,4 +1,5 @@ -/* Copyright (C) 1991-1999, 2000, 2001, 2003 Free Software Foundation, Inc. +/* Copyright (C) 1991-1999, 2000, 2001, 2003, 2004 Free Software + Foundation, Inc. NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu. @@ -56,7 +57,7 @@ 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 |