From 4e75c2a43bb3208f32556a2b19c939cfe1f54ba6 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 12 Jun 2019 10:41:19 +0200 Subject: : Add __glibc_has_include macro --- misc/sys/cdefs.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'misc') diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h index b169537..638872b 100644 --- a/misc/sys/cdefs.h +++ b/misc/sys/cdefs.h @@ -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)) -- cgit v1.1