diff --git a/src/dynapi/SDL_dynapi.c b/src/dynapi/SDL_dynapi.c index f04a9048e..717451862 100644 --- a/src/dynapi/SDL_dynapi.c +++ b/src/dynapi/SDL_dynapi.c @@ -220,7 +220,7 @@ static SDL_INLINE void *get_sdlapi_entry(const char *fname, const char *sym) } return retval; } -#elif defined(unix) || defined(__APPLE__) +#elif defined(unix) || defined(__unix__) || defined(__APPLE__) #include static SDL_INLINE void *get_sdlapi_entry(const char *fname, const char *sym) {