From cd7cf25653d445c5f534fd8bf2d79cd5ee887133 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sun, 11 Mar 2007 05:59:28 +0000 Subject: [PATCH] try a little harder to find APR_MAX_PATH. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4515 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/apr/include/apr.h.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/apr/include/apr.h.in b/libs/apr/include/apr.h.in index 04b0d2d2a6..1a3e69637b 100644 --- a/libs/apr/include/apr.h.in +++ b/libs/apr/include/apr.h.in @@ -385,6 +385,8 @@ typedef @socklen_t_value@ apr_socklen_t; #define APR_PATH_MAX PATH_MAX #elif defined(_POSIX_PATH_MAX) #define APR_PATH_MAX _POSIX_PATH_MAX +#elif defined(_XOPEN_PATH_MAX) +#define APR_PATH_MAX _XOPEN_PATH_MAX #else #error no decision has been made on APR_PATH_MAX for your platform #endif