Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11gl_c.h @ 110:7edee9f0f2cc
SDL GL dynamic loading fix for OpenBSD
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Sat, 14 Jul 2001 19:11:26 +0000 |
parents | 74212992fb08 |
children | e8157fcb3114 |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11gl_c.h Sat Jul 14 19:10:06 2001 +0000 +++ b/src/video/x11/SDL_x11gl_c.h Sat Jul 14 19:11:26 2001 +0000 @@ -28,6 +28,9 @@ #ifdef HAVE_OPENGL #include <GL/glx.h> #include <dlfcn.h> +#if defined(__OpenBSD__) && !defined(__ELF__) +#define dlsym(x,y) dlsym(x, "_" y) +#endif #endif #include "SDL_sysvideo.h"