From da37678acdbac0ecef6d660e90357393a9374633 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Sat, 17 Nov 2012 18:52:16 +0100 Subject: win32: fix mutex.h to build with win32/mingw --- mutex.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mutex.h b/mutex.h index cb46aa7..69ae064 100644 --- a/mutex.h +++ b/mutex.h @@ -33,9 +33,9 @@ typedef CRITICAL_SECTION mutex_t; typedef CONDITION_VARIABLE condition_t; #define CONDITION_INIT(cond) InitializeConditionVariable(&cond) #define CONDITION_WAIT(cond, mutex) \ - SleepConditionVariableCS(&cond, &mutex, INFINTE) + SleepConditionVariableCS(&cond, &mutex, INFINITE) #define CONDITION_NOTIFY(cond) WakeConditionVariable(&cond) -typedef uint32_t thread_t; +typedef DWORD thread_t; typedef HANDLE thread_status_t; #define THREAD_CREATE(tid, func, arg) \ CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)func, arg, 0, &tid) -- cgit v1.2.3