Remove duplicate semaphore

This commit is contained in:
def 2017-08-31 19:36:27 +02:00
parent a58895291c
commit 03399994b5

View file

@ -8,16 +8,6 @@
# if defined(CONF_PLATFORM_MACOSX)
#include <objc/objc-runtime.h>
class semaphore
{
SDL_sem *sem;
public:
semaphore() { sem = SDL_CreateSemaphore(0); }
~semaphore() { SDL_DestroySemaphore(sem); }
void wait() { SDL_SemWait(sem); }
void signal() { SDL_SemPost(sem); }
};
class CAutoreleasePool
{
private: