From: Kurt Zeilenga Date: Wed, 28 Nov 2001 02:16:44 +0000 (+0000) Subject: Support some MAXPATHLEN alternatives X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~822 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=20526e726c016840e37ecf44404bf5a0ad45c780;p=openldap Support some MAXPATHLEN alternatives --- diff --git a/include/ac/param.h b/include/ac/param.h index 0acfd4392a..5020fac4f4 100644 --- a/include/ac/param.h +++ b/include/ac/param.h @@ -19,8 +19,12 @@ #endif #ifndef MAXPATHLEN -# ifdef _MAX_PATH +# if defined(PATHMAX) +# define MAXPATHLEN PATHMAX + +# elif defined(_MAX_PATH) # define MAXPATHLEN _MAX_PATH + # else # define MAXPATHLEN 4096 # endif