mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-09 03:08:38 +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
|
#ifndef __has_include
|
||||||
#define __has_include 1
|
#define __has_include(x) 1
|
||||||
#endif
|
#endif
|
||||||
#ifndef __has_include_next
|
#ifndef __has_include_next
|
||||||
#define __has_include_next 1
|
#define __has_include_next(x) 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef LIBBSD_OVERLAY
|
#ifdef LIBBSD_OVERLAY
|
||||||
|
Loading…
Reference in New Issue
Block a user