From 67b7a8bf9050ee58e161dd857445df41c8899bff Mon Sep 17 00:00:00 2001 From: Geoff Norton Date: Thu, 23 Jul 2009 01:28:20 +0000 Subject: [PATCH] 2009-07-22 Geoff Norton * mini-exceptions.c: Fix build on ia64. svn path=/trunk/mono/; revision=138479 --- mono/mini/ChangeLog | 4 ++++ mono/mini/mini-posix.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/mono/mini/ChangeLog b/mono/mini/ChangeLog index 5c635f8fdaf..0d00d980764 100644 --- a/mono/mini/ChangeLog +++ b/mono/mini/ChangeLog @@ -1,3 +1,7 @@ +2009-07-22 Geoff Norton + + * mini-exceptions.c: Fix build on ia64. + 2009-07-22 Mark Probst * mini-exceptions.c (ves_icall_get_frame_info): Use write diff --git a/mono/mini/mini-posix.c b/mono/mini/mini-posix.c index e3a04ebd740..9059e910072 100644 --- a/mono/mini/mini-posix.c +++ b/mono/mini/mini-posix.c @@ -530,7 +530,11 @@ mono_runtime_setup_stat_profiler (void) pid_t mono_runtime_syscall_fork () { +#if defined(SYS_fork) return (pid_t) syscall (SYS_fork); +#else + g_assert_not_reached (); +#endif } gboolean -- 2.25.1