_lfs_64.h 530 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  3. *
  4. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  5. */
  6. #include <features.h>
  7. #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64
  8. #undef _FILE_OFFSET_BITS
  9. #define _FILE_OFFSET_BITS 64
  10. #endif
  11. #ifndef __USE_LARGEFILE64
  12. # define __USE_LARGEFILE64 1
  13. #endif
  14. /* We absolutely do _NOT_ want interfaces silently
  15. * renamed under us or very bad things will happen... */
  16. #ifdef __USE_FILE_OFFSET64
  17. # undef __USE_FILE_OFFSET64
  18. #endif