diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-10-13 00:14:28 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-10-13 00:14:28 (GMT) |
commit | 1b6e08a25e5ae538d5f2911f75ad9833a9c1f919 (patch) | |
tree | cdd8611a947d4d22c07b1d34b64ac2ecf7d942fd /Modules/_hotshot.c | |
parent | feab23f834d6c300c217bcf450126eea4c455ab4 (diff) | |
download | cpython-1b6e08a25e5ae538d5f2911f75ad9833a9c1f919.zip cpython-1b6e08a25e5ae538d5f2911f75ad9833a9c1f919.tar.gz cpython-1b6e08a25e5ae538d5f2911f75ad9833a9c1f919.tar.bz2 |
This compiles on Windows now.
Diffstat (limited to 'Modules/_hotshot.c')
-rw-r--r-- | Modules/_hotshot.c | 1 |
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 |