diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2018-11-01 21:58:31 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2018-11-01 21:58:31 -0400 |
commit | 2c4d653df0ae16bb221eb2a08314a051301236b5 (patch) | |
tree | 6ec84985a75d75de3934114f5351e12bbe0e3d23 /mtab.c | |
parent | 8c3b9aaaab11be9d0fe24a72ebb16e171ca22125 (diff) | |
download | bfs-2c4d653df0ae16bb221eb2a08314a051301236b5.tar.xz |
util: Wrap __has_include()
Diffstat (limited to 'mtab.c')
-rw-r--r-- | mtab.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -24,11 +24,7 @@ #include <sys/stat.h> #include <sys/types.h> -#ifndef __has_include -# define __has_include(header) 0 -#endif - -#if __GLIBC__ || __has_include(<mntent.h>) +#if __GLIBC__ || BFS_HAS_INCLUDE(<mntent.h>) # define BFS_MNTENT 1 #elif BSD # define BFS_MNTINFO 1 |