aboutsummaryrefslogtreecommitdiff
path: root/src/Platform/Win32/Semaphore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Platform/Win32/Semaphore.c')
-rw-r--r--src/Platform/Win32/Semaphore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Platform/Win32/Semaphore.c b/src/Platform/Win32/Semaphore.c
index 1844ea6..fe0a67b 100644
--- a/src/Platform/Win32/Semaphore.c
+++ b/src/Platform/Win32/Semaphore.c
@@ -46,7 +46,7 @@ int BH_SemaphoreWait(BH_Semaphore *semaphore)
}
-int BH_SemaphoreWaitTry(BH_Semaphore *semaphore)
+int BH_SemaphoreTryWait(BH_Semaphore *semaphore)
{
if (WaitForSingleObject(semaphore->handle, 0))
return BH_ERROR;