summaryrefslogtreecommitdiff
path: root/src/regex.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-09-26 22:04:14 +0000
committerRichard M. Stallman <rms@gnu.org>2002-09-26 22:04:14 +0000
commit27847466a370ea6102ea3a358d04d38918e9bf27 (patch)
tree6bba5d2ecf895244fbe96598e6d39dfb55d3a490 /src/regex.h
parentcf3b32fcfbf0e6dfd3714d527a9d2ab4ae0b0dda (diff)
downloademacs-27847466a370ea6102ea3a358d04d38918e9bf27.tar.gz
(__restrict_arr): Don't define if already defined.
Diffstat (limited to 'src/regex.h')
-rw-r--r--src/regex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/regex.h b/src/regex.h
index ef4284cdce2..f3c1c875a75 100644
--- a/src/regex.h
+++ b/src/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,