From eea3efe8b5a8ab69fed4322f753e2177cf0a971c Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Thu, 26 Sep 2002 22:04:14 +0000 Subject: [PATCH] (__restrict_arr): Don't define if already defined. --- regex.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/regex.h b/regex.h index ef4284cdce..f3c1c875a7 100644 --- a/regex.h +++ b/regex.h @@ -538,7 +538,9 @@ extern int re_exec _RE_ARGS ((const char *)); /* 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. */ +#ifndef __restrict_arr #define __restrict_arr +#endif /* POSIX compatibility. */ extern int regcomp _RE_ARGS ((regex_t *__restrict __preg, -- 2.30.2