Patch #1470300: Port _hotshot to QNX4.25 port.

This commit is contained in:
Martin v. Löwis 2006-04-14 15:07:46 +00:00
parent 7580149bde
commit f24de1e990
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ typedef __int64 hs_time;
#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 @@ calibrate(void)
#endif
}
#if defined(MS_WINDOWS) || defined(PYOS_OS2) || \
defined(__VMS)
defined(__VMS) || defined (__QNX__)
rusage_diff = -1;
#else
{