Ticket #24371: patch-libgc-darwin_stop_world.c.diff

File patch-libgc-darwin_stop_world.c.diff, 608 bytes (added by brennan@…, 14 years ago)
  • libgc/darwin_stop_world.c

     
    135135        GC_push_one(state.ebp);
    136136#endif
    137137#elif defined(POWERPC)
    138 #if defined(_STRUCT_PPC_EXCEPTION_STATE)
     138#if __DARWIN_UNIX03
    139139        lo = (void*)(state.__r1 - PPC_RED_ZONE_SIZE);
    140140       
    141141        GC_push_one(state.__r0);
     
    278278                             (natural_t *)&info, &outCount);
    279279        if(r != KERN_SUCCESS) continue;
    280280
    281 #if defined(_STRUCT_PPC_EXCEPTION_STATE)
     281#if __DARWIN_UNIX03
    282282        lo = (void*)(info.__r1 - PPC_RED_ZONE_SIZE);
    283283        hi = (ptr_t)FindTopOfStack(info.__r1);