summaryrefslogtreecommitdiffstats
path: root/Modules/_hotshot.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-11-20 01:44:59 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-11-20 01:44:59 (GMT)
commiteddc1449bae39414aaf7a4f63ccd3b69c4fb069e (patch)
treecaaeed5da8c9755c4cc1d8ebf8da2f0608262c56 /Modules/_hotshot.c
parent4bae2d5e46b5135dba523616fd0960fc915eb120 (diff)
downloadcpython-eddc1449bae39414aaf7a4f63ccd3b69c4fb069e.zip
cpython-eddc1449bae39414aaf7a4f63ccd3b69c4fb069e.tar.gz
cpython-eddc1449bae39414aaf7a4f63ccd3b69c4fb069e.tar.bz2
Getting rid of all the code inside #ifdef macintosh too.
Diffstat (limited to 'Modules/_hotshot.c')
-rw-r--r--Modules/_hotshot.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/Modules/_hotshot.c b/Modules/_hotshot.c
index da68970..a04494f 100644
--- a/Modules/_hotshot.c
+++ b/Modules/_hotshot.c
@@ -26,7 +26,7 @@ typedef __int64 hs_time;
#ifndef HAVE_GETTIMEOFDAY
#error "This module requires gettimeofday() on non-Windows platforms!"
#endif
-#if defined(macintosh) || (defined(PYOS_OS2) && defined(PYCC_GCC))
+#if (defined(PYOS_OS2) && defined(PYCC_GCC))
#include <sys/time.h>
#else
#include <sys/resource.h>
@@ -47,10 +47,6 @@ typedef struct timeval hs_time;
#define BUFFERSIZE 10240
-#ifdef macintosh
-#define PATH_MAX 254
-#endif
-
#if defined(PYOS_OS2) && defined(PYCC_GCC)
#define PATH_MAX 260
#endif
@@ -940,7 +936,7 @@ calibrate(void)
}
#endif
}
-#if defined(MS_WINDOWS) || defined(macintosh) || defined(PYOS_OS2) || \
+#if defined(MS_WINDOWS) || defined(PYOS_OS2) || \
defined(__VMS)
rusage_diff = -1;
#else