From 4aeea603487608a6fbf1d1fbeda0f5772ed6a8c6 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 29 Oct 2000 13:49:56 +0000 Subject: [PATCH] (__restrict_arr): Move definition out of #ifndef block. Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but doesn't define __restrict_arr. --- lib/regex.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/regex.h b/lib/regex.h index 47f4af7b55..91a3560678 100644 --- a/lib/regex.h +++ b/lib/regex.h @@ -523,11 +523,11 @@ extern int re_exec _RE_ARGS ((const char *)); # define __restrict # endif # endif +#endif /* For now unconditionally define __restrict_arr to expand to nothing. Ideally we would have a test for the compiler which allows defining it to restrict. */ -# define __restrict_arr -#endif +#define __restrict_arr /* POSIX compatibility. */ extern int regcomp _RE_ARGS ((regex_t *__restrict __preg, -- 2.30.2