define PATH_MAX if not defined. [RT #4602 + others]

This commit is contained in:
Mark Andrews
2002-11-29 01:42:18 +00:00
parent 49a940dc68
commit c5689081b7

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: log.c,v 1.79 2002/10/16 13:15:29 jinmei Exp $ */
/* $Id: log.c,v 1.80 2002/11/29 01:42:18 marka Exp $ */
/* Principal Authors: DCL */
@@ -52,6 +52,10 @@
*/
#define LOG_BUFFER_SIZE (8 * 1024)
#ifndef PATH_MAX
#define PATH_MAX 1024 /* AIX and others don't define this. */
#endif
/*
* This is the structure that holds each named channel. A simple linked
* list chains all of the channels together, so an individual channel is