| 1 | force stat() instead of stat64() on 32-bit
|
| 2 | --
|
| 3 | |
| 4 | |
| 5 | @@ -21,7 +21,7 @@
|
| 6 |
|
| 7 | // stat64 and lstat64 are deprecated on OS X. Normal stat and lstat are
|
| 8 | // 64-bit by default on OS X 10.6+.
|
| 9 | -#if defined(HAVE_STAT64) && defined(HAVE_LSTAT64) && !defined(XP_DARWIN)
|
| 10 | +#if 0 && defined(HAVE_STAT64) && defined(HAVE_LSTAT64) && !defined(XP_DARWIN)
|
| 11 | # define STAT stat64
|
| 12 | # define LSTAT lstat64
|
| 13 | # define HAVE_STATS64 1
|
| 14 | |
| 15 | |
| 16 | @@ -178,7 +178,7 @@
|
| 17 | return false;
|
| 18 | }
|
| 19 |
|
| 20 | -#if defined(__x86_64__) || defined(__aarch64__) || \
|
| 21 | +#if 1 || defined(__x86_64__) || defined(__aarch64__) || \
|
| 22 | (defined(__mips__) && _MIPS_SIM == _ABI64) || \
|
| 23 | !(defined(GP_OS_linux) || defined(GP_OS_android))
|
| 24 |
|
| 25 | |
| 26 | |
| 27 | @@ -15,7 +15,7 @@
|
| 28 | // calls. We'll intercept those and handle them in the stat functions
|
| 29 | // but must be sure to use the right structure layout.
|
| 30 |
|
| 31 | -#if defined(__NR_stat64) || defined(__NR_fstatat64)
|
| 32 | +#if 0 && (defined(__NR_stat64) || defined(__NR_fstatat64) )
|
| 33 | typedef struct stat64 statstruct;
|
| 34 | # define statsyscall stat64
|
| 35 | # define lstatsyscall lstat64
|