summaryrefslogtreecommitdiff
path: root/include/regex.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-06-26 09:10:52 +0000
committerEric Andersen <andersen@codepoet.org>2002-06-26 09:10:52 +0000
commit82ba14bc472e809d2090b97b6a3b9e6bd72760da (patch)
treec1628065029235e1f701c0e8bef2a7239db85227 /include/regex.h
parent6cb1c53fa0059ba6200e1e5ab0bc9a97cb25171e (diff)
Several cleanups/fixes from Marshall M. Midden <m4@brecis.com>
Diffstat (limited to 'include/regex.h')
-rw-r--r--include/regex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/regex.h b/include/regex.h
index b9c2d97cc..8eb97c155 100644
--- a/include/regex.h
+++ b/include/regex.h
@@ -532,7 +532,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,