[RFC] Reduce namespace pollution on zlib.h

Dag-Erling Smørgrav des at des.no
Sat Mar 27 00:02:17 UTC 2010


Xin LI <delphij at delphij.net> writes:
> The recent zlib import has added some assumption that
> _LARGEFILE_64_SOURCE is only defined on systems with System V style *64
> interface.  Moreover, I have added _FILE_OFFSET_BITS = 64 definition
> into zconf.h so that it would pick up the 64 bit interface properly.

This is wrong, FreeBSD has native 64-bit stat() etc. and does not need
_LARGEFILE_WHATEVER.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-arch mailing list