diff options
Diffstat (limited to 'src/thread_win.c')
| -rw-r--r-- | src/thread_win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread_win.c b/src/thread_win.c index 3b78f46..16a6d68 100644 --- a/src/thread_win.c +++ b/src/thread_win.c @@ -187,7 +187,7 @@ int bh_semaphore_try_wait(bh_semaphore_t *semaphore) return BH_OK; } -#if WINVER >= _WIN32_WINNT_VISTA +#if WINVER >= _WIN32_WINNT_VISTA && !defined(BH_THREADS_WINXP) int bh_cond_init(bh_cond_t *cond) { InitializeConditionVariable(&cond->handle); |
