diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-09-30 16:19:48 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-09-30 16:19:48 (GMT) |
commit | 21ee4091e10c6f05360bbb60e49aa3639408a612 (patch) | |
tree | c00517000f57a88877b852bb6e6b1d4a1c37e1f2 /Modules/_hotshot.c | |
parent | 174aa49a88336713cd2231e9fe9110b8fb089d6c (diff) | |
download | cpython-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.c | 2 |
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 |