summaryrefslogtreecommitdiff
path: root/lib/regex.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-12-27 11:20:42 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2018-12-27 11:21:15 -0800
commit8cb410df8b66d3bd0fe43ef580a9f912cc402a96 (patch)
treef9e718c452bdeaa6847835a26a299b89a2a4300e /lib/regex.c
parent95c96b6dddd31f3676f72ed044d0c493ab5642d8 (diff)
downloadgnulib-8cb410df8b66d3bd0fe43ef580a9f912cc402a96.tar.gz
autoupdate
Diffstat (limited to 'lib/regex.c')
-rw-r--r--lib/regex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/regex.c b/lib/regex.c
index a80e740c68..9d2071d3c5 100644
--- a/lib/regex.c
+++ b/lib/regex.c
@@ -20,10 +20,10 @@
#ifndef _LIBC
# include <libc-config.h>
-# if (__GNUC__ == 4 && 6 <= __GNUC_MINOR__) || 4 < __GNUC__
+# if __GNUC_PREREQ (4, 6)
# pragma GCC diagnostic ignored "-Wsuggest-attribute=pure"
# endif
-# if (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) || 4 < __GNUC__
+# if __GNUC_PREREQ (4, 3)
# pragma GCC diagnostic ignored "-Wold-style-definition"
# pragma GCC diagnostic ignored "-Wtype-limits"
# endif