mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-08 11:02:24 +01:00
Fix <sys/cdefs.h> for gcc with no __has_include or __has_include_next support
Fixes: https://bugs.freedesktop.org/103396 Signed-off-by: Guillem Jover <guillem@hadrons.org>
This commit is contained in:
parent
22fbd62368
commit
9afc7100a1
@ -25,10 +25,10 @@
|
||||
*/
|
||||
|
||||
#ifndef __has_include
|
||||
#define __has_include 1
|
||||
#define __has_include(x) 1
|
||||
#endif
|
||||
#ifndef __has_include_next
|
||||
#define __has_include_next 1
|
||||
#define __has_include_next(x) 1
|
||||
#endif
|
||||
|
||||
#ifdef LIBBSD_OVERLAY
|
||||
|
Loading…
Reference in New Issue
Block a user