basicio.c (PATH_MAX): Define only to _POSIX_PATH_MAX if that is defined.

* basicio.c (PATH_MAX): Define only to _POSIX_PATH_MAX if that is
	defined.  Otherwise, try MAXPATHLEN.

From-SVN: r23736
This commit is contained in:
J"orn Rennecke 1998-11-20 10:49:53 +00:00 committed by Joern Rennecke
parent d25a233ec3
commit 8411f163a9
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Fri Nov 20 18:48:34 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* basicio.c (PATH_MAX): Define only to _POSIX_PATH_MAX if that is
defined. Otherwise, try MAXPATHLEN.
Thu Oct 22 14:37:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).

View File

@ -38,7 +38,13 @@
#include "fileio.h"
#ifndef PATH_MAX
#ifdef _POSIX_PATH_MAX
#define PATH_MAX _POSIX_PATH_MAX
#else
#ifdef MAXPATHLEN
#define PATH_MAX MAXPATHLEN
#endif
#endif
#endif
static