changeset 47633:f184a4c74ad0

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