mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Forgot the include
This commit is contained in:
parent
abb9891947
commit
cd3038315b
|
@ -425,13 +425,15 @@ void lock_unlock(LOCK lock);
|
|||
|
||||
|
||||
/* Group: Semaphores */
|
||||
#if defined(CONF_FAMILY_UNIX) && !defined(CONF_PLATFORM_MACOSX)
|
||||
#if defined(CONF_FAMILY_UNIX)
|
||||
#include <semaphore.h>
|
||||
#if defined(CONF_PLATFORM_MACOSX)
|
||||
typedef sem_t* SEMAPHORE;
|
||||
#else
|
||||
typedef sem_t SEMAPHORE;
|
||||
#endif
|
||||
#elif defined(CONF_FAMILY_WINDOWS)
|
||||
typedef void* SEMAPHORE;
|
||||
#elif defined(CONF_PLATFORM_MACOSX)
|
||||
typedef sem_t* SEMAPHORE;
|
||||
#else
|
||||
#error not implemented on this platform
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue