summaryrefslogtreecommitdiff
path: root/evthread_win32.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-12-04 12:01:25 -0500
committerNick Mathewson <nickm@torproject.org>2012-12-04 12:01:58 -0500
commit7e45739e26f0a2066a56591472d5e109a482674e (patch)
tree97bddaa21eda5d8b36722c4f418ee898bf41cb4c /evthread_win32.c
parentf7d92c63928a1460f3d99b9bc418bd3b686a0dca (diff)
downloadlibevent-7e45739e26f0a2066a56591472d5e109a482674e.tar.gz
Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled
Reported by Xiuqiang Jiang
Diffstat (limited to 'evthread_win32.c')
-rw-r--r--evthread_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/evthread_win32.c b/evthread_win32.c
index 2389d721..fabd9813 100644
--- a/evthread_win32.c
+++ b/evthread_win32.c
@@ -112,7 +112,7 @@ evthread_win32_condvar_init(void)
#define LOAD(name) \
name##_fn = GetProcAddress(lib, #name)
LOAD(InitializeConditionVariable);
- LOAD(SleepConditionVariable);
+ LOAD(SleepConditionVariableCS);
LOAD(WakeAllConditionVariable);
LOAD(WakeConditionVariable);