1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

<sys/cdefs.h>: Add __glibc_has_include macro

This commit is contained in:
Florian Weimer
2019-06-12 10:41:19 +02:00
parent 680942b016
commit 4e75c2a43b
2 changed files with 10 additions and 0 deletions

View File

@ -412,6 +412,12 @@
# define __glibc_has_attribute(attr) 0
#endif
#ifdef __has_include
# define __glibc_has_include(header) __has_include (header)
#else
# define __glibc_has_include(header) 0
#endif
#if (!defined _Noreturn \
&& (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 201112 \
&& !__GNUC_PREREQ (4,7))