summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Pinto <danielpinto52@gmail.com>2020-10-31 18:33:33 +0000
committerDaniel Pinto <danielpinto52@gmail.com>2020-11-01 03:10:25 +0000
commitf3b9be4422a08b6066bdb93874a5023e7c11ce9e (patch)
treeb0d36b44ebcc2f6675a9f8f164b1d6088ca52826 /configure.ac
parent6e25c49f7615f5e921f4d4ec281c225a720f8289 (diff)
downloadtor-f3b9be4422a08b6066bdb93874a5023e7c11ce9e.tar.gz
tor-f3b9be4422a08b6066bdb93874a5023e7c11ce9e.zip
Implement WIN32 tor_cond_wait using condition variables #30187
Fix bug where running a relay on Windows would use 100% CPU after some time. Makes Windows >= Vista the required Windows version to build and run tor.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 2ee0a5721f..a7ecd1d0fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -560,14 +560,14 @@ fi
AH_BOTTOM([
#ifdef _WIN32
-/* Defined to access windows functions and definitions for >=WinXP */
+/* Defined to access windows functions and definitions for >=WinVista */
# ifndef WINVER
-# define WINVER 0x0501
+# define WINVER 0x0600
# endif
-/* Defined to access _other_ windows functions and definitions for >=WinXP */
+/* Defined to access _other_ windows functions and definitions for >=WinVista */
# ifndef _WIN32_WINNT
-# define _WIN32_WINNT 0x0501
+# define _WIN32_WINNT 0x0600
# endif
/* Defined to avoid including some windows headers as part of Windows.h */