]> granicus.if.org Git - libevent/commitdiff
Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled
authorNick Mathewson <nickm@torproject.org>
Tue, 4 Dec 2012 17:01:25 +0000 (12:01 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 4 Dec 2012 17:01:58 +0000 (12:01 -0500)
Reported by Xiuqiang Jiang

evthread_win32.c

index 2389d72196dba229e9058fbc9ae70ada10e84da4..fabd9813f7e9bf8053b33d4aa6ee006e7552ddb8 100644 (file)
@@ -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);