From 440871bda1ee0eb7ee7c6abd31c62340242a5fd0 Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Sun, 11 Aug 2013 14:17:02 -0400 Subject: Fixed warnings on Windows --- testing/crypto_speed_test.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'testing') 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 @@ // Hi-resolution timer #ifdef WIN32 - +#ifndef WINVER +//Windows XP +#define WINVER 0x0501 +#endif #include double get_time() { -- cgit v1.2.3