[Gc] RE: ucontext.h deprecation in MacOS 10.6 (was: Compiling gc with gcc-4.2.1)

Henning Makholm makholm at octoshape.com
Mon Aug 31 12:42:56 PDT 2009

> Is the patch ok? Shouldn't it read
> # include <ucontext.h>
> #endif

No, that wouldn't make sense. <ucontext.h> is the header that defines
getcontext() -- if you have NO GETCONTEXT, the header probably won't
even exist and therefore you should only include it if *not* NO_GETCONTEXT.

Henning Makholm
Octoshape ApS

More information about the Gc mailing list