From: Stefan Monnier Date: Sun, 15 Oct 2000 16:44:45 +0000 (+0000) Subject: (WIDE_CHAR_SUPPORT): Define if _LIBC as well. X-Git-Tag: emacs-pretest-21.0.90~871 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a0ad02f7fbc71420a601bb117184b8cc5d0f3177;p=emacs.git (WIDE_CHAR_SUPPORT): Define if _LIBC as well. Mostly, just a test of the CVS repository. --- diff --git a/src/regex.c b/src/regex.c index ffbe5fbce9c..a589f155178 100644 --- a/src/regex.c +++ b/src/regex.c @@ -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 @@ struct range_table_work_area } \ } 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