* basicio.c (PATH_MAX): Always provide a definition.
From-SVN: r32876
This commit is contained in:
parent
478a4495af
commit
2201601ab6
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user