X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=regex.h;h=1cfd4363ea750826f5547ae7609a1be567711611;hb=8c60a675a2bf363ca1d6a1cb1889440f89bc572c;hp=ef4284cdce2894645bd705d1a41314fb21cf9d70;hpb=0806807c797e47a61fb5d093ecacddac19343264;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,