1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#ifndef HAS_FCNTL /* fcntl() system call present? */
#define HAS_FCNTL YES
#endif
#ifndef HAS_DIRENT_H /* dirent.h include file present? */
#define HAS_DIRENT_H YES
#endif
#ifndef HAS_SYSCONF /* is sysconf(_SC_OPEN_MAX) available? */
#define HAS_SYSCONF YES
#endif
/*
* sys/dir.h is present, but scandir() doesn't work with pre-2.x servers.
* Since we can't tell in this file what server version we're using (that
* isn't set until linux-pmac.cf is processed), and since the
* opendir()/readdir() stuff always works, just set this to NO to disable
* use of scandir().
*/
#ifndef HAS_SYS_DIR_H /* sys/dir.h include file present? */
#define HAS_SYS_DIR_H YES
#endif
|