about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-23 09:58:08 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-23 09:58:08 +0000
commit5a6bbb41603dabf4afcdd30c9f714a74078a787b (patch)
tree180493951aeb659de366c55f026bc2232933c6a1 /posix
parentfd1a0d0c7c23487e2ec8e1fc60036f1165f30ce1 (diff)
downloadglibc-5a6bbb41603dabf4afcdd30c9f714a74078a787b.tar.gz
glibc-5a6bbb41603dabf4afcdd30c9f714a74078a787b.tar.xz
glibc-5a6bbb41603dabf4afcdd30c9f714a74078a787b.zip
Update.
	* posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition.
	* posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing.
Diffstat (limited to 'posix')
-rw-r--r--posix/Makefile4
-rw-r--r--posix/regex_internal.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/posix/Makefile b/posix/Makefile
index 6b2830ad8d..78619d1df1 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 1991-1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -115,7 +115,7 @@ $(objpfx)wordexp-tst.out: wordexp-tst.sh $(objpfx)wordexp-test
 endif
 endif
 
-CFLAGS-regex.c = -Wno-strict-prototypes -DRE_ENABLE_I18N
+CFLAGS-regex.c = -Wno-strict-prototypes
 CFLAGS-getaddrinfo.c = -DRESOLVER
 tstgetopt-ARGS = -a -b -cfoobar --required foobar --optional=bazbug \
 		--none random --col --color --colour
diff --git a/posix/regex_internal.h b/posix/regex_internal.h
index 9487256dd4..bf84ad6270 100644
--- a/posix/regex_internal.h
+++ b/posix/regex_internal.h
@@ -74,8 +74,8 @@
 # define gettext_noop(String) String
 #endif
 
-#if (defined (MB_CUR_MAX) && HAVE_LOCALE_H && HAVE_WCTYPE_H && HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_MBRTOWC && HAVE_WCSCOLL) || _LIBC
-#define RE_ENABLE_I18N
+#if (defined MB_CUR_MAX && HAVE_LOCALE_H && HAVE_WCTYPE_H && HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_MBRTOWC && HAVE_WCSCOLL) || _LIBC
+# define RE_ENABLE_I18N
 #endif
 
 #if __GNUC__ >= 3