From: Tim Peters Date: Sat, 13 Oct 2001 00:14:28 +0000 (+0000) Subject: This compiles on Windows now. X-Git-Tag: v2.2.1c1~1310 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b6e08a25e5ae538d5f2911f75ad9833a9c1f919;p=python This compiles on Windows now. --- diff --git a/Modules/_hotshot.c b/Modules/_hotshot.c index 0465d06a58..5ebddcdaab 100644 --- a/Modules/_hotshot.c +++ b/Modules/_hotshot.c @@ -21,6 +21,7 @@ #include #include /* for getcwd() */ typedef LARGE_INTEGER hs_time; +#define GETTIMEOFDAY(p) QueryPerformanceCounter(p) #else #ifndef HAVE_GETTIMEOFDAY