X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=regex.h;h=1818d5f9681e03b90dfb7255afd6bc487ac555e1;hb=b04cd621280110172af09716045c4a91046aed3d;hp=ef4284cdce2894645bd705d1a41314fb21cf9d70;hpb=92d64a235cc24b6f37f6ff4c69196f1bf99b032f;p=gnulib.git diff --git a/regex.h b/regex.h index ef4284cdc..1818d5f96 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, @@ -569,3 +571,6 @@ version-control: t trim-versions-without-asking: nil End: */ + +/* arch-tag: bda6e3ec-3c02-4237-a55a-01ad2e120083 + (do not change this comment) */