glob64.c 514 B

1234567891011121314151617181920212223242526
  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. #include <glob.h>
  9. #include <sys/stat.h>
  10. #define dirent dirent64
  11. #define glob_t glob64_t
  12. #define glob(pattern, flags, errfunc, pglob) \
  13. glob64 (pattern, flags, errfunc, pglob)
  14. #define globfree(pglob) globfree64 (pglob)
  15. #undef stat
  16. #define stat stat64
  17. #define lstat lstat64
  18. #define __GLOB64 1
  19. #include "glob.c"