summaryrefslogtreecommitdiff
path: root/user/open-vm-tools/preadv.patch
blob: ee2aacc5a38c43fbaf8bdf6823a6095c4d6d2b54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- open-vm-tools-12.4.0-23259341/lib/file/fileIOPosix.c.old	2024-02-06 09:08:55.000000000 -0600
+++ open-vm-tools-12.4.0-23259341/lib/file/fileIOPosix.c	2024-05-22 13:56:20.738840704 -0500
@@ -203,7 +203,7 @@
  * are not available in any header file.
  */
 
-#if defined(__linux__) && !defined(__ANDROID__)
+#if defined(__linux__) && defined(__GLIBC__)
    #if defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)
       /*
        * We want preadv/pwritev. But due to FOB=64, the symbols are -64.