2 ** nmh.h -- system configuration header file
14 # define NLENGTH(dirent) strlen((dirent)->d_name)
16 # define dirent direct
17 # define NLENGTH(dirent) (dirent)->d_namlen
19 # include <sys/ndir.h>
33 #ifdef HAVE_SYS_PARAM_H
34 # include <sys/param.h>
41 ** symbolic constants for lseek and fseek
54 ** we should be getting this value from pathconf(_PC_PATH_MAX)
58 # define PATH_MAX MAXPATHLEN
60 /* so we will just pick something */
61 # define PATH_MAX 1024
66 ** we should be getting this value from sysconf(_SC_OPEN_MAX)
70 # define OPEN_MAX NOFILE
72 /* so we will just pick something */
80 ** If your stat macros are broken,
81 ** we will just undefine them.
83 #ifdef STAT_MACROS_BROKEN
114 #endif /* STAT_MACROS_BROKEN. */