[Python-checkins] CVS: python/dist/src/Modules _hotshot.c,1.3,1.4
Tim Peters
tim_one@users.sourceforge.net
Fri, 12 Oct 2001 17:14:31 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv15342/python/dist/src/Modules
Modified Files:
_hotshot.c
Log Message:
This compiles on Windows now.
Index: _hotshot.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_hotshot.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** _hotshot.c 2001/10/13 00:11:10 1.3
--- _hotshot.c 2001/10/13 00:14:28 1.4
***************
*** 22,25 ****
--- 22,26 ----
#include <direct.h> /* for getcwd() */
typedef LARGE_INTEGER hs_time;
+ #define GETTIMEOFDAY(p) QueryPerformanceCounter(p)
#else