Fix for compilation under Snow Leopard
nicruby opened this issue · comments
nicruby commented
Under Mac OS X Snow Leopard, got an error during compilation :
/usr/include/ucontext.h:42:2: error: #error ucontext routines are deprecated, and require _XOPEN_SOURCE to be defined
Replaced #include <ucontext.h> by <sys/context.h> solved the issue.
nicruby commented
Delano already fixed this issue in his fork. Should apply it back to trunk.