Ignore:
Timestamp:
Oct 10, 2009, 2:13:11 PM (10 years ago)
Author:
gz
Message:

mac changes (r12671, r12672)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/working-0711/ccl/lisp-kernel/pmcl-kernel.c

    r12303 r12989  
    22552255#ifdef DARWIN
    22562256#if 1
     2257  void *result;
     2258
    22572259  if ((handle == NULL) || (handle == ((void *) -1))) {
    22582260    handle = RTLD_DEFAULT;
    22592261  }   
    2260   if (*name == '_') {
    2261     name++;
    2262   }
    2263   return dlsym(handle, name);
     2262  result = dlsym(handle, name);
     2263  if ((result == NULL) && (*name == '_')) {
     2264    result = dlsym(handle, name+1);
     2265  }
     2266  return result;
    22642267#else
    22652268  natural address = 0;
Note: See TracChangeset for help on using the changeset viewer.