diff options
author | irungentoo <irungentoo@gmail.com> | 2013-08-11 11:29:27 -0700 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-08-11 11:29:27 -0700 |
commit | f377567b5d1bc186610129086d97310b73177353 (patch) | |
tree | c2ac29bec2abb52b552d8d27b1ada93787f22990 /testing/crypto_speed_test.c | |
parent | c009245118ddd7e2a39d5db5150e20e7ecdf4ee9 (diff) | |
parent | 440871bda1ee0eb7ee7c6abd31c62340242a5fd0 (diff) |
Merge pull request #433 from nurupo/master
Fixed warnings on Windows
Diffstat (limited to 'testing/crypto_speed_test.c')
-rw-r--r-- | testing/crypto_speed_test.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/crypto_speed_test.c b/testing/crypto_speed_test.c index 81be92c6..ba40722f 100644 --- a/testing/crypto_speed_test.c +++ b/testing/crypto_speed_test.c | |||
@@ -1,6 +1,9 @@ | |||
1 | // Hi-resolution timer | 1 | // Hi-resolution timer |
2 | #ifdef WIN32 | 2 | #ifdef WIN32 |
3 | 3 | #ifndef WINVER | |
4 | //Windows XP | ||
5 | #define WINVER 0x0501 | ||
6 | #endif | ||
4 | #include <windows.h> | 7 | #include <windows.h> |
5 | double get_time() | 8 | double get_time() |
6 | { | 9 | { |