* basicio.c (PATH_MAX): Always provide a definition.

From-SVN: r32876
This commit is contained in:
George France 2000-04-03 07:21:06 +00:00 committed by Jeff Law
parent 478a4495af
commit 2201601ab6
2 changed files with 13 additions and 7 deletions

View File

@ -1,3 +1,7 @@
Mon Apr 3 01:20:50 2000 George France <france@crl.dec.com>
* basicio.c (PATH_MAX): Always provide a definition.
Wed Oct 27 01:13:12 1999 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
* Makefile.in (config.status): Fix leading whitespace.

View File

@ -39,13 +39,15 @@ Boston, MA 02111-1307, USA. */
#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
# ifdef _POSIX_PATH_MAX
# define PATH_MAX _POSIX_PATH_MAX
# else
# ifdef MAXPATHLEN
# define PATH_MAX MAXPATHLEN
# else
# define PATH_MAX 1024
# endif
# endif
#endif
static