diff --git a/src/engine/client/backend_sdl.h b/src/engine/client/backend_sdl.h index d697b8f02..fa3316eb8 100644 --- a/src/engine/client/backend_sdl.h +++ b/src/engine/client/backend_sdl.h @@ -8,16 +8,6 @@ # if defined(CONF_PLATFORM_MACOSX) #include - 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: