diff options
author | Jari Aalto <jari.aalto@cante.net> | 2006-10-10 14:15:34 +0000 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:58 +0000 |
commit | 0628567a28f3510f506ae46cb9b24b73a6d2dc5d (patch) | |
tree | da84934c41272cdc655694846c15c1c5db807445 /config-bot.h | |
parent | 95732b497d12c98613bb3c5db16b61f377501a59 (diff) | |
download | bash-0628567a28f3510f506ae46cb9b24b73a6d2dc5d.tar.gz |
Imported from ../bash-3.2.tar.gz.
Diffstat (limited to 'config-bot.h')
-rw-r--r-- | config-bot.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/config-bot.h b/config-bot.h index 18946872..c2200f20 100644 --- a/config-bot.h +++ b/config-bot.h @@ -130,10 +130,22 @@ /* For platforms which support the ISO C amendement 1 functionality we support user defined character classes. */ /* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>. */ -#if defined (HAVE_WCTYPE_H) && defined (HAVE_WCHAR_H) +#if defined (HAVE_WCTYPE_H) && defined (HAVE_WCHAR_H) && defined (HAVE_LOCALE_H) # include <wchar.h> # include <wctype.h> -# if defined (HAVE_MBSRTOWCS) && defined (HAVE_MBRTOWC) && defined (HAVE_MBRLEN) && defined (HAVE_WCWIDTH) +# if defined (HAVE_ISWCTYPE) && \ + defined (HAVE_ISWLOWER) && \ + defined (HAVE_ISWUPPER) && \ + defined (HAVE_MBSRTOWCS) && \ + defined (HAVE_MBRTOWC) && \ + defined (HAVE_MBRLEN) && \ + defined (HAVE_TOWLOWER) && \ + defined (HAVE_TOWUPPER) && \ + defined (HAVE_WCHAR_T) && \ + defined (HAVE_WCTYPE_T) && \ + defined (HAVE_WINT_T) && \ + defined (HAVE_WCWIDTH) && \ + defined (HAVE_WCTYPE) /* system is supposed to support XPG5 */ # define HANDLE_MULTIBYTE 1 # endif |