_GNU_SOURCE is supposed to imply _LARGEFILE64_SOURCE
authorRich Felker <dalias@aerifal.cx>
Mon, 4 Jun 2012 12:03:56 +0000 (08:03 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 4 Jun 2012 12:03:56 +0000 (08:03 -0400)
commit3b94daba711090f1936f59fae6f7cbcba963b29e
treef00ea56519214432ee3fd99a287272cf1a770233
parentbd45dc9446166186cfdd5bc89ba719afa9ee7d4c
_GNU_SOURCE is supposed to imply _LARGEFILE64_SOURCE

this is ugly and stupid, but now that the *64 symbol names exist, a
lot of broken GNU software detects them in configure, then either
breaks during build due to missing off64_t definition, or attempts to
compile without function declarations/prototypes. "fixing" it here is
easier than telling everyone to add yet another feature test macro to
their builds.
15 files changed:
include/aio.h
include/dirent.h
include/fcntl.h
include/ftw.h
include/glob.h
include/stdio.h
include/stdlib.h
include/sys/mman.h
include/sys/resource.h
include/sys/sendfile.h
include/sys/stat.h
include/sys/statfs.h
include/sys/statvfs.h
include/sys/types.h
include/unistd.h