changeset 39718:287021d71c8a

(WIDE_CHAR_SUPPORT): Do not use defined() in macro. From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 09 Oct 2001 10:05:13 +0000
parents c598da5b1ada
children 25739a6d05cf
files src/regex.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/regex.c	Tue Oct 09 05:57:35 2001 +0000
+++ b/src/regex.c	Tue Oct 09 10:05:13 2001 +0000
@@ -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.  */