undefine _FILE_OFFSET_BITS and _TIME_BITS sometimes as we want to provide a library with replacements for e.g. both open() and open64() (on 32-bit platforms), open() must not be remapped to open64() . see https://bugs.debian.org/1067561 for some background