atomic.hpp: fix typo
This commit is contained in:
@@ -274,7 +274,7 @@ static u32 sema_alloc()
|
|||||||
#ifdef USE_POSIX
|
#ifdef USE_POSIX
|
||||||
// Initialize semaphore (should be very fast)
|
// Initialize semaphore (should be very fast)
|
||||||
sem_init(&s_sema_list[id], 0, 0);
|
sem_init(&s_sema_list[id], 0, 0);
|
||||||
#elif defined(_WIN32) | defined(USE_FUTEX)
|
#elif defined(_WIN32) || defined(USE_FUTEX)
|
||||||
// Do nothing
|
// Do nothing
|
||||||
#else
|
#else
|
||||||
if (!s_sema_list[id])
|
if (!s_sema_list[id])
|
||||||
|
|||||||
Reference in New Issue
Block a user