Xin LI <delp...@gmail.com> writes: > I will merge an upstream change from zlib, which basically unexpose > LFS stuff on FreeBSD, and I plan to keep the off_t bits == 64. > However, I would highly recommend ports maintainers to push upstream > fix for LFS64 definition removal since they are wrong on FreeBSD
LFS64 is not correct on Linux either; just #define _FILE_OFFSET_BITS 64 before #include <sys/stat.h> and use struct stat / stat() as usual. The AC_SYS_LARGEFILE autoconf macro takes care of that for you, provided you remember to #include "config.h" in your code. DES -- Dag-Erling Smørgrav - d...@des.no _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"