From 0f7077d48cb728cc3c2141bdeda635795de228e4 Mon Sep 17 00:00:00 2001 From: zoltan Date: Mon, 8 Feb 2010 10:03:14 +0000 Subject: [PATCH] Fix the build. git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mono@151010 e3ebcda4-bce8-0310-ba0a-eca2169e7518 --- mono/metadata/boehm-gc.c | 15 +++++++++++++++ mono/metadata/null-gc.c | 7 +++++++ 2 files changed, 22 insertions(+) diff --git a/mono/metadata/boehm-gc.c b/mono/metadata/boehm-gc.c index 7455d4eec..e2ccaa195 100644 --- a/mono/metadata/boehm-gc.c +++ b/mono/metadata/boehm-gc.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include @@ -889,6 +890,13 @@ mono_gc_get_managed_allocator_types (void) return ATYPE_NUM; } +MonoMethod* +mono_gc_get_write_barrier (void) +{ + g_assert_not_reached (); + return NULL; +} + #else MonoMethod* @@ -915,6 +923,13 @@ mono_gc_get_managed_allocator_types (void) return 0; } +MonoMethod* +mono_gc_get_write_barrier (void) +{ + g_assert_not_reached (); + return NULL; +} + #endif #endif /* no Boehm GC */ diff --git a/mono/metadata/null-gc.c b/mono/metadata/null-gc.c index f44922fd4..90b0a131a 100644 --- a/mono/metadata/null-gc.c +++ b/mono/metadata/null-gc.c @@ -255,5 +255,12 @@ mono_gc_get_suspend_signal (void) return -1; } +MonoMethod* +mono_gc_get_write_barrier (void) +{ + g_assert_not_reached (); + return NULL; +} + #endif -- 2.11.4.GIT