Hi, Michael Haubenwallner wrote: > How do gnulib's file-functions respect the different sets of > large-file-defines among several platforms in general?
The autoconf macro AC_SYS_LARGEFILE does it all. It defines _FILE_OFFSET_BITS, _LARGE_FILES, or whatever system-dependent magic is needed to get 64-bit off_t and associated functions. It is a good idea to use AC_SYS_LARGEFILE in every package. A few gnulib modules also require AC_SYS_LARGEFILE. Bruno