diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-10-15 16:44:45 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-10-15 16:44:45 +0000 |
commit | a0ad02f7fbc71420a601bb117184b8cc5d0f3177 (patch) | |
tree | 072ec4e19c2ac9d5cc67c6d9910942baea7379fc /src/regex.c | |
parent | b3b7f42fd1772c715797e3cdf6336ccb380199c9 (diff) | |
download | emacs-a0ad02f7fbc71420a601bb117184b8cc5d0f3177.tar.gz emacs-a0ad02f7fbc71420a601bb117184b8cc5d0f3177.tar.bz2 emacs-a0ad02f7fbc71420a601bb117184b8cc5d0f3177.zip |
(WIDE_CHAR_SUPPORT): Define if _LIBC as well.
Mostly, just a test of the CVS repository.
Diffstat (limited to 'src/regex.c')
-rw-r--r-- | src/regex.c | 6 |
1 files changed, 3 insertions, 3 deletions
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: <wchar.h> must be included before <wctype.h>. */ # include <wchar.h> # include <wctype.h> @@ -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 |