openwrt-packages/utils/open-vm-tools/patches/0011-Use-off64_t-instead-of...

12 lines
363 B
Diff

--- a/lib/file/fileIOPosix.c
+++ b/lib/file/fileIOPosix.c
@@ -198,7 +198,7 @@ static AlignedPool alignedPool;
* are not available in any header file.
*/
-#if defined(__linux__) && !defined(__ANDROID__)
+#if 0
#if defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)
/*
* We want preadv/pwritev. But due to FOB=64, the symbols are -64.