[Zlib-devel] zlib 1.2.4.2 ready for its close up
Mark Adler
madler at alumni.caltech.edu
Sat Apr 10 15:15:41 EDT 2010
On Apr 10, 2010, at 1:55 AM, Arkadiusz Miskiewicz wrote:
> Who is supposed to define _LARGEFILE64_SOURCE ?
>
> in
> #if _LARGEFILE64_SOURCE && _LFS64_LARGEFILE
>
> #if defined(Z_HAVE_UNISTD_H) || _LARGEFILE64_SOURCE
No one is supposed to define it. Those constructs with undefined symbols are supposed to work (and do work at least with my gcc), but apparently it doesn't always work. (What version of gcc are you using?)
I will try to avoid those constructs, but it may get messy.
Mark
More information about the Zlib-devel
mailing list