home *** CD-ROM | disk | FTP | other *** search
- /*
- This is the customizations file. It changes our ideas of
- how to read directories.
- */
-
- #define NAMELEN 512 /* max size of a full pathname */
-
- #ifdef BSD
- # include <sys/dir.h>
- # define OPEN DIR
- # define READ struct direct
- # define NAME(x) ((x).d_name)
- #endif
-
- #ifdef SCO_XENIX
- # include <sys/ndir.h>
- # define OPEN DIR
- # define READ struct direct
- # define NAME(x) ((x).d_name)
- #endif
-
- #ifdef SYS_V
- /* Customize this. This is part of Doug Gwyn's package for */
- /* reading directories. If you've put this file somewhere */
- /* else, edit the next line. */
-
- # include <sys/dirent.h>
-
- # define OPEN struct direct
- # define READ struct dirent
- # define NAME(x) ((x).d_name)
- #endif
-
- #ifdef SYS_III
- # define OPEN FILE
- # define READ struct direct
- # define NAME(x) ((x).d_name)
- # define INO(x) ((x).d_ino)
-
- # include "direct.c"
-
- #endif
-
- #if !(defined(BSD) || !defined(SYS_V) || !defined(SYS_III) || !defined(SCO_XENIX))
- "This is an Error"
- #endif
-