Share Pastebin
Guest
Public paste!

Mark Aufflick

By: a guest | Dec 11th, 2007 | Syntax: None | Size: 0.65 KB | Hits: 26 | Expires: Never
Copy text to clipboard
  1. diff --git a/shotgun/lib/subtend/PortableUContextPPC.h b/shotgun/lib/subtend/PortableUContextPPC.h
  2. index 75a3a6b..dcc2274 100644
  3. --- a/shotgun/lib/subtend/PortableUContextPPC.h
  4. +++ b/shotgun/lib/subtend/PortableUContextPPC.h
  5.  -56,8 +56,13 @@ struct ucontext
  6.         mcontext_t mc;
  7.  };
  8.  
  9. -void makecontext(ucontext_t*, void(*)(void), int, ...);
  10. -int swapcontext(ucontext_t*, ucontext_t*);
  11. +// Prefer the OSX 10.5 ucontext
  12. +
  13. +#undef NEEDPOWERMAKECONTEXT
  14. +#undef NEEDSWAPCONTEXT
  15. +
  16. +//void makecontext(ucontext_t*, void(*)(void), int, ...);
  17. +//int swapcontext(ucontext_t*, ucontext_t*);
  18.  int _getmcontext(mcontext_t*);
  19.  void _setmcontext(mcontext_t*);