Backport 5db6d9ddf6e8.
This commit is contained in:
parent
8a0d58bb3d
commit
4a3a3f3bda
|
@ -36,6 +36,14 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Max pathname length */
|
/* Max pathname length */
|
||||||
|
#ifdef __hpux
|
||||||
|
#include <sys/param.h>
|
||||||
|
#include <limits.h>
|
||||||
|
#ifndef PATH_MAX
|
||||||
|
#define PATH_MAX MAXPATHLEN
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef MAXPATHLEN
|
#ifndef MAXPATHLEN
|
||||||
#if defined(PATH_MAX) && PATH_MAX > 1024
|
#if defined(PATH_MAX) && PATH_MAX > 1024
|
||||||
#define MAXPATHLEN PATH_MAX
|
#define MAXPATHLEN PATH_MAX
|
||||||
|
|
Loading…
Reference in New Issue