src/loadso/macosx/SDL_dlcompat.c
changeset 2735 204be4fc2726
parent 1895 c121d94672cb
child 2773 3e42ad69f4a3
     1.1 --- a/src/loadso/macosx/SDL_dlcompat.c	Wed Aug 27 13:37:19 2008 +0000
     1.2 +++ b/src/loadso/macosx/SDL_dlcompat.c	Wed Aug 27 15:10:03 2008 +0000
     1.3 @@ -616,8 +616,8 @@
     1.4                  || (LC_LOAD_WEAK_DYLIB == lc->cmd)) {
     1.5                  if ((wh = (struct mach_header *)
     1.6                       my_find_image((char
     1.7 -                                    *) (((struct dylib_command *) lc)->
     1.8 -                                        dylib.name.offset + (char *) lc)))) {
     1.9 +                                    *) (((struct dylib_command *) lc)->dylib.
    1.10 +                                        name.offset + (char *) lc)))) {
    1.11                      if (dyld_NSIsSymbolNameDefinedInImage(wh, symbol)) {
    1.12                          nssym = dyld_NSLookupSymbolInImage(wh,
    1.13                                                             symbol,
    1.14 @@ -1067,6 +1067,7 @@
    1.15      return answer;
    1.16  
    1.17  }
    1.18 +
    1.19  static void *
    1.20  dlsym_auto_underscore_intern(void *handle, const char *symbol)
    1.21  {