[Python-checkins] CVS: python/dist/src/Modules timemodule.c,2.105,2.106

Guido van Rossum gvanrossum@users.sourceforge.net
Thu, 01 Mar 2001 22:26:43 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv12146

Modified Files:
	timemodule.c 
Log Message:
RISCOS changes by dschwertberger.


Index: timemodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/timemodule.c,v
retrieving revision 2.105
retrieving revision 2.106
diff -C2 -r2.105 -r2.106
*** timemodule.c	2001/01/19 23:16:56	2.105
--- timemodule.c	2001/03/02 06:26:41	2.106
***************
*** 17,21 ****
--- 17,23 ----
  #endif /* USE_GUSI2 */
  #else
+ #ifndef RISCOS
  #include <sys/types.h>
+ #endif /* RISCOS */
  #endif
  
***************
*** 39,43 ****
  #else
  #ifdef MS_WINDOWS
! #include <windows.h>
  #ifdef MS_WIN16
  /* These overrides not needed for Win32 */
--- 41,45 ----
  #else
  #ifdef MS_WINDOWS
! include <windows.h>
  #ifdef MS_WIN16
  /* These overrides not needed for Win32 */
***************
*** 748,752 ****
--- 750,756 ----
  	/* XXX Can't interrupt this sleep */
  	Py_BEGIN_ALLOW_THREADS
+ #ifndef RISCOS
  	delay((int)(secs * 1000 + 0.5));  /* delay() uses milliseconds */
+ #endif
  	Py_END_ALLOW_THREADS
  #else /* !__WATCOMC__ || __QNX__ */