diff options
Diffstat (limited to 'Modules/_hotshot.c')
-rw-r--r-- | Modules/_hotshot.c | 8 |
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 |