summaryrefslogtreecommitdiffstats
path: root/Modules/_hotshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_hotshot.c')
-rw-r--r--Modules/_hotshot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_hotshot.c b/Modules/_hotshot.c
index 0465d06..5ebddcd 100644
--- a/Modules/_hotshot.c
+++ b/Modules/_hotshot.c
@@ -21,6 +21,7 @@
#include <largeint.h>
#include <direct.h> /* for getcwd() */
typedef LARGE_INTEGER hs_time;
+#define GETTIMEOFDAY(p) QueryPerformanceCounter(p)
#else
#ifndef HAVE_GETTIMEOFDAY