Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 5th, 2012  |  syntax: None  |  size: 0.56 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff --git a/libgc/include/private/gcconfig.h b/libgc/include/private/gcconfig.h
  2. index 8276079..818d93a 100644
  3. --- a/libgc/include/private/gcconfig.h
  4. +++ b/libgc/include/private/gcconfig.h
  5. @@ -325,7 +325,7 @@
  6.          These aren't used when dyld support is enabled (it is by default) */
  7.  #    define DATASTART ((ptr_t) get_etext())
  8.  #    define DATAEND    ((ptr_t) get_end())
  9. -#    define STACKBOTTOM ((ptr_t) 0xc0000000)
  10. +#    define STACKBOTTOM ((ptr_t) pthread_get_stackaddr_np(pthread_self()))
  11.  #    define USE_MMAP
  12.  #    define USE_MMAP_ANON
  13.  #    define USE_ASM_PUSH_REGS