* Shawn O. Pearce:
So we'd probably have to do something like:
#ifndef _LFS_LARGEFILE
#define open64 open
#define lseek64 lseek
#endif
and then start using the open64/lseek64 variants instead. Or do
the reverse #define's. ;-)
This is actually what "#define _FILE_OFFSET_BITS 64" does. It's
usually not a bad idea per se, but you must not use off_t in library
header files if you do this.
lseek64 and friends are under -D_LARGEFILE64_SOURCE, it seems. Pitty
we couldn't get rid of this mess when switching to libc6. 8-(