summaryrefslogtreecommitdiffstats
path: root/src/stat.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-05-07 12:53:38 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-05-07 12:53:38 -0400
commit2fef5781950c5c830031883e1b498267dbbe5d22 (patch)
treea1c4e39d5557673d03bdb474ee95f30c054419be /src/stat.c
parent7129ed0ff069fde418773be313442beb0dacfaaf (diff)
downloadbfs-2fef5781950c5c830031883e1b498267dbbe5d22.tar.xz
stat: Remove __GNU__ guard
The number of people running bfs on Hurd with an outdated glibc version is vanishingly small (I hope).
Diffstat (limited to 'src/stat.c')
-rw-r--r--src/stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat.c b/src/stat.c
index db1f99a..5a10a99 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -62,7 +62,7 @@ int bfs_fstatat_flags(enum bfs_stat_flags flags) {
ret |= AT_SYMLINK_NOFOLLOW;
}
-#if defined(AT_NO_AUTOMOUNT) && (!__GNU__ || __GLIBC_PREREQ(2, 35))
+#ifdef AT_NO_AUTOMOUNT
ret |= AT_NO_AUTOMOUNT;
#endif