changeset 3949:e64864a8abf7

(__restrict_arr): Don't define if already defined.
author Richard Stallman <rms@gnu.org>
date Thu, 26 Sep 2002 22:04:14 +0000
parents 9655c39f7e48
children 87e7d6f6e509
files regex.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/regex.h
+++ b/regex.h
@@ -538,7 +538,9 @@
 /* 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,