Kaydet (Commit) 6df5cae4 authored tarafından Stefan Krah's avatar Stefan Krah

Issue #15835: Define PATH_MAX on HP-UX.

üst e667e98f
......@@ -29,6 +29,14 @@ extern "C" {
#endif
/* Max pathname length */
#ifdef __hpux
#include <sys/param.h>
#include <limits.h>
#ifndef PATH_MAX
#define PATH_MAX MAXPATHLEN
#endif
#endif
#ifndef MAXPATHLEN
#if defined(PATH_MAX) && PATH_MAX > 1024
#define MAXPATHLEN PATH_MAX
......
#include "Python.h"
#include "osdefs.h"
#ifdef MS_WINDOWS
# include <windows.h>
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment