From 939e301b327abbe2883c718b679357da9fd41cd6 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sat, 31 Aug 2019 02:57:54 +0000 Subject: [PATCH] If _FILE_OFFSET_BITS is not defined, that also means no LFS support --- src/xpdev/filewrap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xpdev/filewrap.c b/src/xpdev/filewrap.c index 7169e472a7..310189c66e 100644 --- a/src/xpdev/filewrap.c +++ b/src/xpdev/filewrap.c @@ -87,7 +87,7 @@ off_t DLLCALL filelength(int fd) } // See https://patchwork.kernel.org/patch/9289177/ -#if defined(F_OFD_SETLK) && defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS != 64 +#if defined(F_OFD_SETLK) && _FILE_OFFSET_BITS != 64 #undef F_OFD_SETLK #endif -- GitLab