Skip to content
Snippets Groups Projects
Commit 48407b43 authored by Thierry Lelegard's avatar Thierry Lelegard
Browse files

Fixed pthread-shim for Win32

The pthread wrapper for Windows compiled on 64-bit, not on 32-bit Windows.
parent b3460263
Branches master
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ int pthread_cond_timedwait_ms(pthread_cond_t *cond, pthread_mutex_t *mutex, uint
#else
#include <errno.h>
static BOOL init_mutex_impl(PINIT_ONCE once_var, PVOID mutex, PVOID *param2) {
static BOOL WINAPI init_mutex_impl(PINIT_ONCE once_var, PVOID mutex, PVOID *param2) {
RIST_MARK_UNUSED(once_var);
RIST_MARK_UNUSED(param2);
if (pthread_mutex_init((pthread_mutex_t *)mutex, NULL) !=
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment