From 9a6363178b184a56037b0e503b41ebf461b8021c Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 11 Jan 2002 01:53:17 +0000 Subject: If PATH_MAX doesn't exist, use _POSIX_PATH_MAX. 2002-01-10 Jeffrey Stedfast * providers/local/camel-local-folder.c: If PATH_MAX doesn't exist, use _POSIX_PATH_MAX. svn path=/trunk/; revision=15291 --- camel/providers/local/camel-local-folder.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'camel/providers/local') diff --git a/camel/providers/local/camel-local-folder.c b/camel/providers/local/camel-local-folder.c index b6d6ef8ab2..d84041025c 100644 --- a/camel/providers/local/camel-local-folder.c +++ b/camel/providers/local/camel-local-folder.c @@ -33,6 +33,10 @@ #include #include +#ifndef _POSIX_PATH_MAX +#include +#endif + #include "camel-local-folder.h" #include "camel-local-store.h" #include "string-utils.h" @@ -48,6 +52,10 @@ #define d(x) /*(printf("%s(%d): ", __FILE__, __LINE__),(x))*/ +#ifndef PATH_MAX +#define PATH_MAX _POSIX_PATH_MAX +#endif + static CamelFolderClass *parent_class = NULL; /* Returns the class for a CamelLocalFolder */ -- cgit