diff options
author | ache <ache@FreeBSD.org> | 2006-12-31 09:06:30 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2006-12-31 09:06:30 +0000 |
commit | 0e6bca45b1aeb189311204a2b5d10ca61fdf4ae3 (patch) | |
tree | 7ab23277706b512032dc5a9144d193728ba52eae /contrib/libreadline/rlmbutil.h | |
parent | ead5fc05b9835be798994dfae32172fde03e9d74 (diff) | |
download | FreeBSD-src-0e6bca45b1aeb189311204a2b5d10ca61fdf4ae3.zip FreeBSD-src-0e6bca45b1aeb189311204a2b5d10ca61fdf4ae3.tar.gz |
Virgin import of GNU Readline 5.2
Diffstat (limited to 'contrib/libreadline/rlmbutil.h')
-rw-r--r-- | contrib/libreadline/rlmbutil.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/contrib/libreadline/rlmbutil.h b/contrib/libreadline/rlmbutil.h index 11adacb..dd317e2 100644 --- a/contrib/libreadline/rlmbutil.h +++ b/contrib/libreadline/rlmbutil.h @@ -32,10 +32,19 @@ /* 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_WCWIDTH) /* system is supposed to support XPG5 */ # define HANDLE_MULTIBYTE 1 # endif |