X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=regex.h;h=1818d5f9681e03b90dfb7255afd6bc487ac555e1;hb=5cae228b23e408b175e25d36d4909d17cda3bd5b;hp=ef4284cdce2894645bd705d1a41314fb21cf9d70;hpb=0806807c797e47a61fb5d093ecacddac19343264;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) */