1 diff -ur a/src/compat.h b/src/compat.h
2 --- a/src/compat.h 2007-05-27 00:59:43.000000000 +0000
3 +++ b/src/compat.h 2024-02-17 11:53:01.541895388 +0000
11 #include <sys/types.h>
13 void vwarnc(int code, const char *fmt, va_list ap);
14 void warnx(const char *fmt, ...);
15 void vwarnx(const char *fmt, va_list ap);
23 #define lseek64 _lseeki64
25 - #if SIZEOF_OFF_T == 8
26 + #if SIZEOF_OFF_T == 8 || defined(__APPLE__)
27 + _Static_assert(sizeof(off_t) == 8, "off_t must be 8 bytes");
30 #error ERROR: Must have a working 64 bit seek function
31 diff -ur a/src/ntfs.c b/src/ntfs.c
32 --- a/src/ntfs.c 2007-05-27 01:00:08.000000000 +0000
33 +++ b/src/ntfs.c 2024-02-17 11:48:19.402694507 +0000