We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e667e98 commit 6df5caeCopy full SHA for 6df5cae
2 files changed
Include/osdefs.h
@@ -29,6 +29,14 @@ extern "C" {
29
#endif
30
31
/* Max pathname length */
32
+#ifdef __hpux
33
+#include <sys/param.h>
34
+#include <limits.h>
35
+#ifndef PATH_MAX
36
+#define PATH_MAX MAXPATHLEN
37
+#endif
38
39
+
40
#ifndef MAXPATHLEN
41
#if defined(PATH_MAX) && PATH_MAX > 1024
42
#define MAXPATHLEN PATH_MAX
Python/fileutils.c
@@ -1,4 +1,5 @@
1
#include "Python.h"
2
+#include "osdefs.h"
3
#ifdef MS_WINDOWS
4
# include <windows.h>
5
0 commit comments