From df759c2a218d1b52cfaf199b24e9f35dc93a3af4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 30 Jan 2004 05:22:32 +0000 Subject: Update. 2004-01-28 Paolo Bonzini Merge regex changes in gawk. * posix/regcomp.c (build_range_exp) [!_LIBC]: Check validity of collation elements. * posix/regex.c: Include limits.h. * posix/regex.h: Document REG_ECOLLATE correctly. * posix/regex_internal.h [!_LIBC && !ENABLE_NLS]: Disable NLS. --- posix/regex_internal.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'posix/regex_internal.h') diff --git a/posix/regex_internal.h b/posix/regex_internal.h index 7a7d964bd5..7ec7294692 100644 --- a/posix/regex_internal.h +++ b/posix/regex_internal.h @@ -23,7 +23,6 @@ #include #include -#include #include #include #include @@ -53,7 +52,7 @@ #endif /* This is for other GNU distributions with internationalized messages. */ -#if HAVE_LIBINTL_H || defined _LIBC +#if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC # include # ifdef _LIBC # undef gettext -- cgit v1.2.3