diff options
author | Jim Meyering <jim@meyering.net> | 2000-10-29 13:49:56 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-10-29 13:49:56 +0000 |
commit | 4aeea603487608a6fbf1d1fbeda0f5772ed6a8c6 (patch) | |
tree | 4335bb1140a24c0e0c36c2423f40d1640fa4e295 | |
parent | a25d553216085ae23e5497ff4e3504d9e5cd6c3b (diff) | |
download | gnulib-4aeea603487608a6fbf1d1fbeda0f5772ed6a8c6.tar.gz |
(__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.
-rw-r--r-- | lib/regex.h | 4 |
1 files 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, |