]> git.eshelyaron.com Git - emacs.git/commitdiff
(__restrict_arr): Do not redefine it if already defined.
authorFrancesco Potortì <pot@gnu.org>
Mon, 30 Sep 2002 08:07:42 +0000 (08:07 +0000)
committerFrancesco Potortì <pot@gnu.org>
Mon, 30 Sep 2002 08:07:42 +0000 (08:07 +0000)
src/regex.h

index ef4284cdce2894645bd705d1a41314fb21cf9d70..1cfd4363ea750826f5547ae7609a1be567711611 100644 (file)
@@ -535,10 +535,12 @@ extern int re_exec _RE_ARGS ((const char *));
 #  endif
 # endif
 #endif
-/* For now unconditionally define __restrict_arr to expand to nothing.
+/* For now conditionally define __restrict_arr to expand to nothing.
    Ideally we would have a test for the compiler which allows defining
    it to restrict.  */
-#define __restrict_arr
+#ifndef __restrict_arr
+# define __restrict_arr
+#endif
 
 /* POSIX compatibility.  */
 extern int regcomp _RE_ARGS ((regex_t *__restrict __preg,