Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Nagy <robert@openbsd.org>2010-11-29 17:56:37 +0300
committerZoltan Varga <vargaz@gmail.com>2010-11-29 19:05:46 +0300
commit065506369b2f69c1104e6059ae884a205b414273 (patch)
treeda4ab0b7163f86cd4a17482d88cb869b6ebcc712 /libgc/misc.c
parentf2e095f92cd1829f515e014779378240d3ae0e8e (diff)
Add support for the internal boehm-gc on OpenBSD
Diffstat (limited to 'libgc/misc.c')
-rw-r--r--libgc/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgc/misc.c b/libgc/misc.c
index e21db5b3209..5b2868d808b 100644
--- a/libgc/misc.c
+++ b/libgc/misc.c
@@ -473,7 +473,7 @@ size_t GC_get_total_bytes GC_PROTO(())
int GC_get_suspend_signal GC_PROTO(())
{
-#if defined(SIG_SUSPEND) && defined(GC_PTHREADS) && !defined(GC_MACOSX_THREADS)
+#if defined(SIG_SUSPEND) && defined(GC_PTHREADS) && !defined(GC_MACOSX_THREADS) && !defined(GC_OPENBSD_THREADS)
return SIG_SUSPEND;
#else
return -1;
@@ -684,7 +684,7 @@ void GC_init_inner()
# if defined(SEARCH_FOR_DATA_START)
GC_init_linux_data_start();
# endif
-# if (defined(NETBSD) || defined(OPENBSD)) && defined(__ELF__)
+# if defined(NETBSD) && defined(__ELF__)
GC_init_netbsd_elf();
# endif
# if defined(GC_PTHREADS) || defined(GC_SOLARIS_THREADS) \