| 1 | /** |
| 2 | * This file is part of the mingw-w64 runtime package. |
| 3 | * No warranty is given; refer to the file DISCLAIMER within this package. |
| 4 | */ |
| 5 | |
| 6 | #define FUNC_FTW ftw64i32 |
| 7 | #define FUNC_NFTW nftw64i32 |
| 8 | #define FUNC_STAT stat64i32 |
| 9 | #define STRUCT_STAT struct _stat64i32 |
| 10 | #include "ftw.c" |
| 11 | |
| 12 | /* On 64-bit systems is stat ABI compatible with stat64i32 */ |
| 13 | #ifdef _WIN64 |
| 14 | #undef nftw |
| 15 | #undef ftw |
| 16 | struct stat; |
| 17 | int __attribute__ ((alias ("nftw64i32"))) __cdecl nftw(const char *, int (*) (const char *, const struct stat *, int, struct FTW *), int, int); |
| 18 | int __attribute__ ((alias ("ftw64i32"))) __cdecl ftw(const char *, int (*) (const char *, const struct stat *, int), int); |
| 19 | #endif |