diff --git a/src/atomic/SDL_spinlock.c b/src/atomic/SDL_spinlock.c index 8f905db21b017..50fcc8c76da8e 100644 --- a/src/atomic/SDL_spinlock.c +++ b/src/atomic/SDL_spinlock.c @@ -168,14 +168,11 @@ SDL_bool SDL_AtomicTryLock(SDL_SpinLock *lock) } return res; #elif defined(__DREAMCAST__) -#ifdef __DREAMCAST__ if (spinlock_trylock(lock)) { return SDL_TRUE; } else { return SDL_FALSE; } -#endif - #else #error Please implement for your platform. return SDL_FALSE;