Mercurial > hg > octave-kai > gnulib-hg
changeset 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 |
parents | 90fc6dc1a3a4 |
children | 649b55121e8b |
files | lib/regex.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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,