[Mono-devel-list] Re: Patch: 100% working mono under FreeBSD (small nit)
flashdict at gmail.com
Mon Apr 11 14:31:38 EDT 2005
I will work up another patch to implement your suggestions. I based
the original on the principle of "do the least harm", but I will
remove the #ifdefs where you have suggested, and setup a check for
ucontext.h in configure.in.
On Apr 11, 2005 7:17 PM, Paolo Molaro <lupus at ximian.com> wrote:
> #if defined(__FreeBSD__)
> #define CTX_REG_EAX(ctx) ((ctx)uc_mcontext.mc_eax)
> #define CTX_REG_EAX(ctx) ((ctx)uc_mcontext.gregs [REG_EAX])
> This way the #ifdefs are moved to the header file and not in the middle
> of the code.
This one is a bit trickier. The current implementation relies on
Zoltan's new sigcontext_to_monocontext() fix, and I don't know how he
wants to handle it going forward. I'll defer to him.
Thanks for the feedback.
More information about the Mono-devel-list