From 0f31cffe78d3a5cfa348eb1c3208e5daec5777d9 Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Sun, 6 Dec 1998 13:35:31 +0000 Subject: fix outdated/incorrect info about arbitrary limits p4raw-id: //depot/perl@2454 --- perl.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'perl.h') 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 -- cgit v1.2.1