Explorar el Código

Patched to compile on OpenBSD.

Ryan C. Gordon hace 11 años
padre
commit
d5c977adb7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/dynapi/SDL_dynapi.c

+ 1 - 1
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 <dlfcn.h>
 static SDL_INLINE void *get_sdlapi_entry(const char *fname, const char *sym)
 {