2 | | > Also, a "zconf.h" patch should actually be applied to zconf.h.in (processed by configure into zconf.h) as follows: [[br]] |
3 | | > [[br]] |
4 | | > --- zconf.h.in.orig 2010-03-17 10:32:37.000000000 -1000 [[br]] |
5 | | > +++ zconf.h.in 2010-03-17 10:33:13.000000000 -1000 [[br]] |
6 | | > @@ -377,6 +377,9 @@ [[br]] |
7 | | > [[br]] |
8 | | > #ifdef _LARGEFILE64_SOURCE [[br]] |
9 | | > # include <sys/types.h> [[br]] |
10 | | > +# ifdef !__APPLE!__ [[br]] |
11 | | > +# define off64_t off_t [[br]] |
12 | | > +# endif [[br]] |
13 | | > #endif [[br]] |
14 | | > [[br]] |
| 2 | > Also, a "zconf.h" patch should actually be applied to zconf.h.in (processed by configure into zconf.h) as follows: |
| 3 | > |
| 4 | > {{{ |
| 5 | > --- zconf.h.in.orig 2010-03-17 10:32:37.000000000 -1000 |
| 6 | > +++ zconf.h.in 2010-03-17 10:33:13.000000000 -1000 |
| 7 | > @@ -377,6 +377,9 @@ |
| 8 | > |
| 9 | > #ifdef _LARGEFILE64_SOURCE |
| 10 | > # include <sys/types.h> |
| 11 | > +# ifdef !__APPLE!__ |
| 12 | > +# define off64_t off_t |
| 13 | > +# endif |
| 14 | > #endif |
| 15 | > |