Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11gl.c @ 127:0bcae11eba14
Oops, that wasn't right...
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 31 Jul 2001 00:26:32 +0000 |
parents | 7edee9f0f2cc |
children | 578815880307 |
comparison
equal
deleted
inserted
replaced
126:92cbc667a9ff | 127:0bcae11eba14 |
---|---|
412 #if defined(__OpenBSD__) && !defined(__ELF__) | 412 #if defined(__OpenBSD__) && !defined(__ELF__) |
413 #undef dlsym(x,y); | 413 #undef dlsym(x,y); |
414 #endif | 414 #endif |
415 retval = dlsym(handle, proc); | 415 retval = dlsym(handle, proc); |
416 if (!retval && strlen(proc) <= 1022) { | 416 if (!retval && strlen(proc) <= 1022) { |
417 procname[0] = "_"; | 417 procname[0] = '_'; |
418 strcpy(procname + 1, proc); | 418 strcpy(procname + 1, proc); |
419 retval = dlsym(handle, procname); | 419 retval = dlsym(handle, procname); |
420 } | 420 } |
421 return retval; | 421 return retval; |
422 } | 422 } |