X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=regex.h;h=1cfd4363ea750826f5547ae7609a1be567711611;hb=b1943fc2c6f51fd64340dd4db4309643304ed413;hp=ef4284cdce2894645bd705d1a41314fb21cf9d70;hpb=92d64a235cc24b6f37f6ff4c69196f1bf99b032f;p=gnulib.git diff --git a/regex.h b/regex.h index ef4284cdc..1cfd4363e 100644 --- a/regex.h +++ b/regex.h @@ -535,10 +535,12 @@ extern int re_exec _RE_ARGS ((const char *)); # endif # endif #endif -/* For now unconditionally define __restrict_arr to expand to nothing. +/* For now conditionally 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 +#ifndef __restrict_arr +# define __restrict_arr +#endif /* POSIX compatibility. */ extern int regcomp _RE_ARGS ((regex_t *__restrict __preg,