Skip to content

Commit

Permalink
removed extra #ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
GPF committed Sep 6, 2024
1 parent d8b9c47 commit 6a95ce1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/atomic/SDL_spinlock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6a95ce1

Please sign in to comment.