From 19c751898efc0cad97aec7706dd7cb52bf5effc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 24 Feb 2016 18:44:27 -0800 Subject: [PATCH] Cleanup. --- include/bx/sem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bx/sem.h b/include/bx/sem.h index f81d0f7..37141c5 100644 --- a/include/bx/sem.h +++ b/include/bx/sem.h @@ -226,7 +226,7 @@ namespace bx Semaphore() { #if BX_PLATFORM_XBOXONE || BX_PLATFORM_WINRT - m_handle = CreateSemaphoreEx(NULL, 0, LONG_MAX, NULL, 0, SEMAPHORE_ALL_ACCESS); + m_handle = CreateSemaphoreExW(NULL, 0, LONG_MAX, NULL, 0, SEMAPHORE_ALL_ACCESS); #else m_handle = CreateSemaphoreA(NULL, 0, LONG_MAX, NULL); #endif