From 4890e2754c238c51497a19b67fb2458ef108f558 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 27 Aug 2024 16:23:47 -0400 Subject: prelude: Rely more on __has_include() Rather than a bunch of manual fallback macros, just provide a fallback definition that returns false. --- src/stat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stat.h') diff --git a/src/stat.h b/src/stat.h index 8d7144d..6a8c3f5 100644 --- a/src/stat.h +++ b/src/stat.h @@ -25,7 +25,7 @@ # define BFS_USE_STATX (BFS_HAS_STATX || BFS_HAS_STATX_SYSCALL) #endif -#if BFS_USE_SYS_PARAM_H +#if __has_include() # include #endif -- cgit v1.2.3