support: Preserve errno in write_message, TEST_VERIFY and other checks
[glibc.git] / sysdeps / gnu / glob64.c
blob42b5b225caf71dc0b591f193a84f1b697e7dc1ba
1 #include <dirent.h>
2 #include <glob.h>
3 #include <sys/stat.h>
5 #define dirent dirent64
6 #define __readdir(dirp) __readdir64 (dirp)
8 #define glob_t glob64_t
9 #define __glob __glob64
10 #define globfree(pglob) globfree64 (pglob)
12 #undef stat
13 #define stat stat64
14 #undef __stat
15 #define __stat(file, buf) __xstat64 (_STAT_VER, file, buf)
17 #define COMPILE_GLOB64 1
19 #include <posix/glob.c>
21 libc_hidden_def (__glob64)
22 versioned_symbol (libc, __glob64, glob64, GLIBC_2_27);
23 libc_hidden_ver (__glob64, glob64)