|
|
1.1 ! root 1: /* ! 2: Hatari - scandir.h ! 3: ! 4: This file is distributed under the GNU Public License, version 2 or at ! 5: your option any later version. Read the file gpl.txt for details. ! 6: */ ! 7: #ifndef HATARI_SCANDIR_H ! 8: #define HATARI_SCANDIR_H ! 9: ! 10: #include "config.h" ! 11: #include <dirent.h> ! 12: ! 13: #ifdef QNX ! 14: #include <sys/types.h> ! 15: #include <sys/dir.h> ! 16: #define dirent direct ! 17: #endif ! 18: ! 19: #if !HAVE_ALPHASORT ! 20: int alphasort(const void *d1, const void *d2); ! 21: #endif ! 22: ! 23: #if !HAVE_SCANDIR ! 24: int scandir(const char *dirname, struct dirent ***namelist, int (*sdfilter)(struct dirent *), int (*dcomp)(const void *, const void *)); ! 25: #endif ! 26: ! 27: #endif /* HATARI_SCANDIR_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.