readdir64.c 343 B

12345678910111213141516
  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 <_lfs_64.h>
  7. #include <dirent.h>
  8. #if __WORDSIZE != 64
  9. # define __READDIR readdir64
  10. # define __DIRENT_TYPE struct dirent64
  11. # define __GETDENTS __getdents64
  12. # include "readdir.c"
  13. #endif