]> granicus.if.org Git - python/commitdiff
This compiles on Windows now.
authorTim Peters <tim.peters@gmail.com>
Sat, 13 Oct 2001 00:14:28 +0000 (00:14 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 13 Oct 2001 00:14:28 +0000 (00:14 +0000)
Modules/_hotshot.c

index 0465d06a58da9c7364c9882b7360d86961ac759a..5ebddcdaabdaea5d87ed079d33d3acfa9f174e18 100644 (file)
@@ -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