Mercurial > hg > octave-shane > gnulib-hg
diff lib/regex.h @ 2940:c7143052abca
(__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.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 29 Oct 2000 13:49:56 +0000 (2000-10-29) |
parents | 9065aac1a5e8 |
children | 255cd439f908 |
line wrap: on
line diff
--- a/lib/regex.h +++ b/lib/regex.h @@ -523,11 +523,11 @@ # 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,