# HG changeset patch # User Stefan Monnier # Date 971628285 0 # Node ID 3a5e6f70d313e7e248a93a0c2ae1d6d14b981d9b # Parent 561d344e522695b3350eef971258bcac77a472b9 (WIDE_CHAR_SUPPORT): Define if _LIBC as well. Mostly, just a test of the CVS repository. diff -r 561d344e5226 -r 3a5e6f70d313 src/regex.c --- a/src/regex.c Sun Oct 15 16:34:11 2000 +0000 +++ b/src/regex.c Sun Oct 15 16:44:45 2000 +0000 @@ -53,11 +53,11 @@ /* Whether to use ISO C Amendment 1 wide char functions. Those should not be used for Emacs since it uses its own. */ #define WIDE_CHAR_SUPPORT \ - (HAVE_WCTYPE_H && HAVE_WCHAR_H && HAVE_BTOWC && !emacs) + (defined _LIBC || HAVE_WCTYPE_H && HAVE_WCHAR_H && HAVE_BTOWC && !emacs) /* For platform which support the ISO C amendement 1 functionality we support user defined character classes. */ -#if defined _LIBC || WIDE_CHAR_SUPPORT +#if WIDE_CHAR_SUPPORT /* Solaris 2.5 has a bug: must be included before . */ # include # include @@ -1933,7 +1933,7 @@ } \ } while (0) -#if defined _LIBC || WIDE_CHAR_SUPPORT +#if WIDE_CHAR_SUPPORT /* The GNU C library provides support for user-defined character classes and the functions from ISO C amendement 1. */ # ifdef CHARCLASS_NAME_MAX