diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-08-27 16:23:47 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-08-28 17:33:20 -0400 |
commit | 4890e2754c238c51497a19b67fb2458ef108f558 (patch) | |
tree | 1e590b06485b206a7c96c044fbb393b4df73498e /src/xspawn.c | |
parent | 49e8620fe191da4fabc79896d05d56cb531ed673 (diff) | |
download | bfs-4890e2754c238c51497a19b67fb2458ef108f558.tar.xz |
prelude: Rely more on __has_include()
Rather than a bunch of manual fallback macros, just provide a fallback
definition that returns false.
Diffstat (limited to 'src/xspawn.c')
-rw-r--r-- | src/xspawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xspawn.c b/src/xspawn.c index 5e0f989..2385a6e 100644 --- a/src/xspawn.c +++ b/src/xspawn.c @@ -16,7 +16,7 @@ #include <sys/types.h> #include <unistd.h> -#if BFS_USE_PATHS_H +#if __has_include(<paths.h>) # include <paths.h> #endif |