Mark Aufflick
By: a guest | Dec 11th, 2007 | Syntax:
None | Size: 0.65 KB | Hits: 26 | Expires: Never
diff --git a/shotgun/lib/subtend/PortableUContextPPC.h b/shotgun/lib/subtend/PortableUContextPPC.h
index 75a3a6b..dcc2274 100644
--- a/shotgun/lib/subtend/PortableUContextPPC.h
+++ b/shotgun/lib/subtend/PortableUContextPPC.h
-56,8 +56,13 @@ struct ucontext
mcontext_t mc;
};
-void makecontext(ucontext_t*, void(*)(void), int, ...);
-int swapcontext(ucontext_t*, ucontext_t*);
+// Prefer the OSX 10.5 ucontext
+
+#undef NEEDPOWERMAKECONTEXT
+#undef NEEDSWAPCONTEXT
+
+//void makecontext(ucontext_t*, void(*)(void), int, ...);
+//int swapcontext(ucontext_t*, ucontext_t*);
int _getmcontext(mcontext_t*);
void _setmcontext(mcontext_t*);