2 ** nmh.h -- system configuration header file
8 # include <sys/types.h>
18 # define NLENGTH(dirent) strlen((dirent)->d_name)
20 # define dirent direct
21 # define NLENGTH(dirent) (dirent)->d_namlen
23 # include <sys/ndir.h>
39 #if STDC_HEADERS || HAVE_STRING_H
41 /* An ANSI string.h and pre-ANSI memory.h might conflict. */
42 # if !STDC_HEADERS && HAVE_MEMORY_H
44 # endif /* not STDC_HEADERS and HAVE_MEMORY_H */
45 #else /* not STDC_HEADERS and not HAVE_STRING_H */
47 /* memory.h and strings.h conflict on some systems. */
48 #endif /* not STDC_HEADERS and not HAVE_STRING_H */
50 #ifdef HAVE_SYS_PARAM_H
51 # include <sys/param.h>
63 ** symbolic constants for lseek and fseek
76 ** we should be getting this value from pathconf(_PC_PATH_MAX)
80 # define PATH_MAX MAXPATHLEN
82 /* so we will just pick something */
83 # define PATH_MAX 1024
88 ** we should be getting this value from sysconf(_SC_OPEN_MAX)
92 # define OPEN_MAX NOFILE
94 /* so we will just pick something */
102 ** If your stat macros are broken,
103 ** we will just undefine them.
105 #ifdef STAT_MACROS_BROKEN
136 #endif /* STAT_MACROS_BROKEN. */