Mercurial > sdl-ios-xcode
diff src/loadso/macosx/SDL_dlcompat.c @ 2698:e1da92da346c gsoc2008_nds
Clean up.
author | Darren Alton <dalton@stevens.edu> |
---|---|
date | Wed, 27 Aug 2008 04:23:38 +0000 |
parents | c121d94672cb |
children | 3e42ad69f4a3 |
line wrap: on
line diff
--- a/src/loadso/macosx/SDL_dlcompat.c Thu Aug 21 12:38:21 2008 +0000 +++ b/src/loadso/macosx/SDL_dlcompat.c Wed Aug 27 04:23:38 2008 +0000 @@ -616,8 +616,8 @@ || (LC_LOAD_WEAK_DYLIB == lc->cmd)) { if ((wh = (struct mach_header *) my_find_image((char - *) (((struct dylib_command *) lc)-> - dylib.name.offset + (char *) lc)))) { + *) (((struct dylib_command *) lc)->dylib. + name.offset + (char *) lc)))) { if (dyld_NSIsSymbolNameDefinedInImage(wh, symbol)) { nssym = dyld_NSLookupSymbolInImage(wh, symbol, @@ -1067,6 +1067,7 @@ return answer; } + static void * dlsym_auto_underscore_intern(void *handle, const char *symbol) {