summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-12-06 13:35:31 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-12-06 13:35:31 +0000
commit0f31cffe78d3a5cfa348eb1c3208e5daec5777d9 (patch)
treec9c2a9068c94d6f51785102caabd99baed4a564d /perl.h
parent0cc1d052f2b5aa0a485e4a60aabe91829ddbe78c (diff)
downloadperl-0f31cffe78d3a5cfa348eb1c3208e5daec5777d9.tar.gz
fix outdated/incorrect info about arbitrary limits
p4raw-id: //depot/perl@2454
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 0f8a94c5f6..9560567c7d 100644
--- a/perl.h
+++ b/perl.h
@@ -1349,6 +1349,15 @@ typedef I32 (*filter_t) _((int, SV *, int));
# endif
#endif
+/* XXX MAXPATHLEN should be determined by Configure */
+#ifndef MAXPATHLEN
+# ifdef PATH_MAX
+# define MAXPATHLEN PATH_MAX
+# else
+# define MAXPATHLEN 1024
+# endif
+#endif
+
#ifndef FUNC_NAME_TO_PTR
#define FUNC_NAME_TO_PTR(name) name
#endif