libexplain-1.4-largefile.patch 460 B

1234567891011121314151617181920
  1. Index: libexplain/ac/fcntl.h
  2. ===================================================================
  3. --- libexplain/ac/fcntl.h.orig
  4. +++ libexplain/ac/fcntl.h
  5. @@ -65,8 +65,14 @@
  6. * flags values returned by the kernel.
  7. */
  8. #if defined(__linux__) && (O_LARGEFILE == 0)
  9. +#if defined(__aarch64__)
  10. +#define O_LARGEFILE_HIDDEN 0400000
  11. +#elif defined(__powerpc64__)
  12. +#define O_LARGEFILE_HIDDEN 0200000
  13. +#else
  14. #define O_LARGEFILE_HIDDEN 0100000
  15. #endif
  16. +#endif
  17. /*