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
path: root/libgc
diff options
context:
space:
mode:
authorthfrwn <11335318+thfrwn@users.noreply.github.com>2018-03-29 18:25:23 +0300
committermonojenkins <jo.shields+jenkins@xamarin.com>2018-03-29 18:25:23 +0300
commit81a781bb02f7a834beddef85b02c54f1c3a1ea2d (patch)
tree6a7dd6432a17f2dcea3e3849e29c749c268a446f /libgc
parent792196320f46a01eb2e689387307751de08f4dbb (diff)
add some OpenBSD patches (#7699)
add some OpenBSD patches Hi, A few trivial additions of OpenBSD to ifdefs, plus the change of the abort signal to SIGUSR1 which fixes the SIGABRT problem (other compilation problems remain). SIGTTIN is broadcast to the process group which leads to the SIGABRT (at least on OpenBSD).
Diffstat (limited to 'libgc')
-rw-r--r--libgc/dyn_load.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgc/dyn_load.c b/libgc/dyn_load.c
index 963f6e95427..c414c8788cc 100644
--- a/libgc/dyn_load.c
+++ b/libgc/dyn_load.c
@@ -396,7 +396,8 @@ GC_bool GC_register_main_static_data()
# if (defined(LINUX) || defined (__GLIBC__) || defined(NACL)) /* Are others OK here, too? */ \
&& (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \
- || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG)))
+ || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG))) \
+ || defined(OPENBSD)
/* We have the header files for a glibc that includes dl_iterate_phdr. */
/* It may still not be available in the library on the target system. */