scandir64.c 339 B

12345678910111213141516
  1. /*
  2. * Copyright (C) 2000-2011 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 __SCANDIR scandir64
  10. # define __DIRENT_TYPE struct dirent64
  11. # define __READDIR readdir64
  12. # include "scandir.c"
  13. #endif