* lib/cdefs.h (__glibc_has_attribute): New macro.
2018-10-15 Paul Eggert <eggert@cs.ucla.edu>
+ libc-config: merge from glibc
+ * lib/cdefs.h (__glibc_has_attribute): New macro.
+
regex: depend on libc-config
* modules/regex (Depends-on): Add libc-config.
This is needed after the recent autoupdate from glibc.
# define __glibc_likely(cond) (cond)
#endif
+#ifdef __has_attribute
+# define __glibc_has_attribute(attr) __has_attribute (attr)
+#else
+# define __glibc_has_attribute(attr) 0
+#endif
+
#if (!defined _Noreturn \
&& (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 201112 \
&& !__GNUC_PREREQ (4,7))