386BSD 0.1 development
authorWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Tue, 15 Oct 1991 05:51:40 +0000 (21:51 -0800)
committerWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Tue, 15 Oct 1991 05:51:40 +0000 (21:51 -0800)
Work on file usr/othersrc/public/bash-1.12/bash-1.12/maxpath.h

Co-Authored-By: Lynne Greer Jolitz <ljolitz@cardio.ucsf.edu>
Synthesized-from: 386BSD-0.1

usr/othersrc/public/bash-1.12/bash-1.12/maxpath.h [new file with mode: 0644]

diff --git a/usr/othersrc/public/bash-1.12/bash-1.12/maxpath.h b/usr/othersrc/public/bash-1.12/bash-1.12/maxpath.h
new file mode 100644 (file)
index 0000000..32ec877
--- /dev/null
@@ -0,0 +1,19 @@
+/* maxpath.h - Find out what this system thinks MAXPATHLEN is. */
+
+#if !defined (_MAXPATH_H)
+#define _MAXPATH_H
+
+#if defined (isc386) && !defined (BUILDING_MAKEFILE)
+#  include <limits.h>
+#  if !defined (MAXPATHLEN) && defined (PATH_MAX)
+#    define MAXPATHLEN PATH_MAX
+#endif /* !MAXPATHLEN && PATH_MAX */
+#endif /* isc386 && BUILDING_MAKEFILE */
+
+/* Yecch!  Who cares about this gross concept in the first place? */
+#if !defined (MAXPATHLEN)
+#  define MAXPATHLEN 1024
+#endif /* MAXPATHLEN */
+
+#endif /* _MAXPATH_H */
+