Skip to content
Snippets Groups Projects
Commit 939e301b authored by rswindell's avatar rswindell
Browse files

If _FILE_OFFSET_BITS is not defined, that also means no LFS support

parent 1d786a04
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment