diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-05-29 15:01:08 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-05-29 15:03:25 -0400 |
commit | 976945aa0451cbf24f9579900234df54af50c573 (patch) | |
tree | c25fbe299eed4476157a07a6ccd00c29b724e2eb /src/util.h | |
parent | 5e0b0675b014ba04dd969d9bd7be2d8ea83aa7c0 (diff) | |
download | bfs-976945aa0451cbf24f9579900234df54af50c573.tar.xz |
stat: Don't pass AT_NO_AUTOMOUNT on GNU Hurd before glibc 2.35
Link: https://buildd.debian.org/status/fetch.php?pkg=bfs&arch=hurd-i386&ver=2.6-1&stamp=1653764526
Link: https://sourceware.org/git/?p=glibc.git;a=commit;h=13710e7e6af6c8965cc9a63a0660cb4ce1966557
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -90,6 +90,12 @@ # define BFS_HAS_UTIL BFS_HAS_INCLUDE(<util.h>, __NetBSD__) #endif +#ifdef __GLIBC_PREREQ +# define BFS_GLIBC_PREREQ(maj, min) __GLIBC_PREREQ(maj, min) +#else +# define BFS_GLIBC_PREREQ(maj, min) false +#endif + #if !defined(FNM_CASEFOLD) && defined(FNM_IGNORECASE) # define FNM_CASEFOLD FNM_IGNORECASE #endif |