Patched to compile on OpenBSD.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 08 Jan 2014 00:31:19 -0500
changeset 8095 15b248f1e5a0
parent 8094 9efaae827924
child 8096 132b47684fbf
Patched to compile on OpenBSD.
src/dynapi/SDL_dynapi.c
--- a/src/dynapi/SDL_dynapi.c	Mon Dec 09 16:03:18 2013 -0500
+++ b/src/dynapi/SDL_dynapi.c	Wed Jan 08 00:31:19 2014 -0500
@@ -220,7 +220,7 @@
     }
     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)
 {