summaryrefslogtreecommitdiff
path: root/posix/regex.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-05-05 06:11:55 +0000
committerJakub Jelinek <jakub@redhat.com>2006-05-05 06:11:55 +0000
commit3f898a85fc15daad530ca7db852e7d724e3914b5 (patch)
treeaea4ca88f192663618dacf8b3fb9e7f5f1fe527b /posix/regex.h
parentbaba5d9461d4e8a581ac26fe4412ad783ffc73e7 (diff)
Updated to fedora-glibc-20060505T0554cvs/fedora-glibc-2_4_90-5
Diffstat (limited to 'posix/regex.h')
-rw-r--r--posix/regex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/regex.h b/posix/regex.h
index d787b9bff9..807c404ec2 100644
--- a/posix/regex.h
+++ b/posix/regex.h
@@ -525,7 +525,8 @@ extern int re_exec (const char *);
#endif
/* gcc 3.1 and up support the [restrict] syntax. */
#ifndef __restrict_arr
-# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
+# if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) \
+ && !defined __GNUG__
# define __restrict_arr __restrict
# else
# define __restrict_arr