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 | 55408e0307370f99c648f0df9ec9684c10817bf6 (patch) | |
tree | 1e035e1234818f1b8ba8e5ad705ebd4c89987e90 /lib | |
parent | 0dd327c851e07742968eeeacd4ee9ef196b42664 (diff) | |
download | coreutils-55408e0307370f99c648f0df9ec9684c10817bf6.tar.xz |
(__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.
Diffstat (limited to 'lib')
-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 47f4af7b5..91a356067 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, |