[Python-checkins] r45391 - python/trunk/Modules/_hotshot.c (original) (raw)
martin.v.loewis python-checkins at python.org
Fri Apr 14 17:07:46 CEST 2006
- Previous message: [Python-checkins] r45390 - in python/trunk: Makefile.pre.in Parser/asdl_c.py
- Next message: [Python-checkins] r45392 - python/trunk/configure python/trunk/configure.in
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: martin.v.loewis Date: Fri Apr 14 17:07:46 2006 New Revision: 45391
Modified: python/trunk/Modules/_hotshot.c Log: Patch #1470300: Port _hotshot to QNX4.25 port.
Modified: python/trunk/Modules/_hotshot.c
--- python/trunk/Modules/_hotshot.c (original) +++ python/trunk/Modules/_hotshot.c Fri Apr 14 17:07:46 2006 @@ -26,7 +26,7 @@ #ifndef HAVE_GETTIMEOFDAY #error "This module requires gettimeofday() on non-Windows platforms!" #endif -#if (defined(PYOS_OS2) && defined(PYCC_GCC)) +#if (defined(PYOS_OS2) && defined(PYCC_GCC)) || defined(QNX) #include <sys/time.h> #else #include <sys/resource.h> @@ -918,7 +918,7 @@ #endif } #if defined(MS_WINDOWS) || defined(PYOS_OS2) || \
- defined(__VMS)
- defined(__VMS) || defined (QNX) rusage_diff = -1;
#else {
- Previous message: [Python-checkins] r45390 - in python/trunk: Makefile.pre.in Parser/asdl_c.py
- Next message: [Python-checkins] r45392 - python/trunk/configure python/trunk/configure.in
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]