summaryrefslogtreecommitdiff
path: root/lib/regex_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/regex_internal.h')
-rw-r--r--lib/regex_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/regex_internal.h b/lib/regex_internal.h
index 95df77cac..361647344 100644
--- a/lib/regex_internal.h
+++ b/lib/regex_internal.h
@@ -131,7 +131,7 @@
# define attribute_hidden
#endif /* not _LIBC */
-#ifdef __GNUC__
+#if __GNUC__ >= 3
# define __attribute(arg) __attribute__ (arg)
#else
# define __attribute(arg)