[Mono-devel-list] syscall vs. sigaction

Michael Adams - CPX Tetra michaela at ComparexAfrica.co.za
Thu Mar 6 07:52:16 EST 2003


Hi All,

In  mono/jit/jit.c
Most of the lines:  g_assert (syscall (SYS_sigaction ....
have been commented out and replaced with : g_assert (sigaction ....
except for one line.

Is this one call to syscall() supposed to be there, or should it be replace
with the sigaction() call ?

I'm asking as my system doesn't have a syscall() function however
sigaction() works fine,
so I have to change this line each time I get a newer version of mono.

also,
mono/jit/codegen.h  has the include: #include <sys/syscall.h>
which my system lacks.  However, the code compiles fine if I comment this
include out.
If possible, could the configure define a _HAVE_SYS_SYSCALL_ or something ?

cheers

----------------------------------------------------------------------------
------------
Michael Adams




More information about the Mono-devel-list mailing list