On Fri, Mar 26, 2010 at 05:26:03PM -0700, Xin LI wrote: > > This is wrong, FreeBSD has native 64-bit stat() etc. and does not need > > _LARGEFILE_WHATEVER. > > Yes we do not need that and it just cause compilation errors. > > The problem is that some third party software thinks that they need to > define _LARGEFILE64_*, which will break zlib.h on FreeBSD :(
To keep ports code untouched you should not #undef anything like that names in the public zlib.h header, just remove/redefine *LARGEFILE* for zlib only in some private internal header. -- http://ache.pp.ru/ _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[email protected]"
