Skip to content

Commit

Permalink
Patched to compile on OpenBSD.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jan 8, 2014
1 parent 090327e commit d5c977a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynapi/SDL_dynapi.c
Expand Up @@ -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 <dlfcn.h>
static SDL_INLINE void *get_sdlapi_entry(const char *fname, const char *sym)
{
Expand Down

0 comments on commit d5c977a

Please sign in to comment.