luafilesystem-without_large_file.patch 434 B

1234567891011121314151617181920
  1. diff --git a/src/lfs.c b/src/lfs.c
  2. index 85f01e3..ed49f50 100644
  3. --- a/src/lfs.c
  4. +++ b/src/lfs.c
  5. @@ -22,13 +22,13 @@
  6. #ifndef _WIN32
  7. #ifndef _AIX
  8. -#define _FILE_OFFSET_BITS 64 /* Linux, Solaris and HP-UX */
  9. +//#define _FILE_OFFSET_BITS 64 /* Linux, Solaris and HP-UX */
  10. #else
  11. #define _LARGE_FILES 1 /* AIX */
  12. #endif
  13. #endif
  14. -#define _LARGEFILE64_SOURCE
  15. +//#define _LARGEFILE64_SOURCE
  16. #include <errno.h>
  17. #include <stdio.h>