diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-10-09 10:05:32 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-10-09 10:05:32 +0000 |
commit | 5e5388f653157cb1836c30fc9131080d47e0a4b8 (patch) | |
tree | 7730f6659a5aec170806b960cb9ee36864784118 /src/regex.c | |
parent | ded42dd3086a05416075ceae91972898ec889425 (diff) | |
download | emacs-5e5388f653157cb1836c30fc9131080d47e0a4b8.tar.gz emacs-5e5388f653157cb1836c30fc9131080d47e0a4b8.tar.bz2 emacs-5e5388f653157cb1836c30fc9131080d47e0a4b8.zip |
(WIDE_CHAR_SUPPORT): Do not use defined() in macro.
From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
Diffstat (limited to 'src/regex.c')
-rw-r--r-- | src/regex.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/regex.c b/src/regex.c index 9fe099c7125..38fc80437fd 100644 --- a/src/regex.c +++ b/src/regex.c @@ -49,8 +49,12 @@ /* Whether to use ISO C Amendment 1 wide char functions. Those should not be used for Emacs since it uses its own. */ +#if defined _LIBC +#define WIDE_CHAR_SUPPORT 1 +#else #define WIDE_CHAR_SUPPORT \ - (defined _LIBC || HAVE_WCTYPE_H && HAVE_WCHAR_H && HAVE_BTOWC && !emacs) + (HAVE_WCTYPE_H && HAVE_WCHAR_H && HAVE_BTOWC && !emacs) +#endif /* For platform which support the ISO C amendement 1 functionality we support user defined character classes. */ |