[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


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) || \

#else {



More information about the Python-checkins mailing list