summaryrefslogtreecommitdiff
blob: 2294e9c2372a058464bfc9b0e917eb6b5bd55e3a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- lib/posix/regex.h
+++ lib/posix/regex.h
@@ -533,7 +533,8 @@ 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.  */
+#undef __restrict_arr
 #define __restrict_arr
 
 /* POSIX compatibility.  */
 extern int regcomp _RE_ARGS ((regex_t *__restrict __preg,