summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--loader/win32.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/loader/win32.c b/loader/win32.c
index 320fa40c32..8b4efc4d6d 100644
--- a/loader/win32.c
+++ b/loader/win32.c
@@ -853,7 +853,11 @@ static HANDLE WINAPI expCreateMutexA(void *pSecAttr,
else
dbgprintf("CreateMutexA(0x%x, %d, NULL) => 0x%x\n",
pSecAttr, bInitialOwner, mlist);
+#ifndef QTX
+ /* 10l to QTX, if CreateMutex returns a real mutex, WaitForSingleObject
+ waits for ever, else it works ;) */
return mlist;
+#endif
}
static int WINAPI expReleaseMutex(HANDLE hMutex)