summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-11-12 19:24:09 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-11-12 19:24:09 (GMT)
commitabaca8cb0642c041a59d74e2b5775a80efe85240 (patch)
tree0fedd8a3b0000cc740d02d35629b1b93c27683c9 /Include
parentf7a8cf24922002e73331ec74a2b1ac83b6f7097d (diff)
parent6df5cae49a6ff61ce523361d30784893e59f3837 (diff)
downloadcpython-abaca8cb0642c041a59d74e2b5775a80efe85240.zip
cpython-abaca8cb0642c041a59d74e2b5775a80efe85240.tar.gz
cpython-abaca8cb0642c041a59d74e2b5775a80efe85240.tar.bz2
Merge 3.3.
Diffstat (limited to 'Include')
-rw-r--r--Include/osdefs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Include/osdefs.h b/Include/osdefs.h
index ed88da1..0c2e34b 100644
--- a/Include/osdefs.h
+++ b/Include/osdefs.h
@@ -23,6 +23,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