summaryrefslogtreecommitdiffstats
path: root/Modules/_hotshot.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-09-30 16:19:48 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-09-30 16:19:48 (GMT)
commit21ee4091e10c6f05360bbb60e49aa3639408a612 (patch)
treec00517000f57a88877b852bb6e6b1d4a1c37e1f2 /Modules/_hotshot.c
parent174aa49a88336713cd2231e9fe9110b8fb089d6c (diff)
downloadcpython-21ee4091e10c6f05360bbb60e49aa3639408a612.zip
cpython-21ee4091e10c6f05360bbb60e49aa3639408a612.tar.gz
cpython-21ee4091e10c6f05360bbb60e49aa3639408a612.tar.bz2
Patch #615069: Fix build problems on SCO Open Server 5. Backported to 2.2.
Diffstat (limited to 'Modules/_hotshot.c')
-rw-r--r--Modules/_hotshot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/_hotshot.c b/Modules/_hotshot.c
index 1908a2d..37879b9 100644
--- a/Modules/_hotshot.c
+++ b/Modules/_hotshot.c
@@ -64,6 +64,8 @@ typedef struct timeval hs_time;
#ifndef PATH_MAX
# ifdef MAX_PATH
# define PATH_MAX MAX_PATH
+# elif defined (_POSIX_PATH_MAX)
+# define PATH_MAX _POSIX_PATH_MAX
# else
# error "Need a defn. for PATH_MAX in _hotshot.c"
# endif