diff --git a/Modules/_hotshot.c b/Modules/_hotshot.c index 0465d06a58d..5ebddcdaabd 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