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:
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 /support
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 'support')
-rw-r--r--support/sys-mman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/sys-mman.c b/support/sys-mman.c
index ad74ef2ad02..30b9897154b 100644
--- a/support/sys-mman.c
+++ b/support/sys-mman.c
@@ -17,7 +17,7 @@
/* For mincore () */
#define _DARWIN_C_SOURCE
#endif
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
/* For mincore () */
#define __BSD_VISIBLE 1
#endif