| 1 | #include <dirent.h> |
| 2 | #include <glob.h> |
| 3 | #include <sys/stat.h> |
| 4 | |
| 5 | #define dirent dirent64 |
| 6 | #define __readdir(dirp) __readdir64 (dirp) |
| 7 | |
| 8 | #define glob_t glob64_t |
| 9 | #define __glob __glob64 |
| 10 | #define globfree(pglob) globfree64 (pglob) |
| 11 | |
| 12 | #undef stat |
| 13 | #define stat stat64 |
| 14 | #undef __stat |
| 15 | #define __stat(file, buf) __stat64 (file, buf) |
| 16 | |
| 17 | #define COMPILE_GLOB64 1 |
| 18 | |
| 19 | #include <posix/glob.c> |
| 20 | |
| 21 | libc_hidden_def (__glob64) |
| 22 | versioned_symbol (libc, __glob64, glob64, GLIBC_2_27); |
| 23 | libc_hidden_ver (__glob64, glob64) |
| 24 | |