diff options
author | Robert Nagy <robert@openbsd.org> | 2018-01-08 10:25:19 +0100 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2018-01-22 21:12:40 +0300 |
commit | 0d1ee29fa7df61197e4e9cd96824e057baec98b4 (patch) | |
tree | 554e5bc978adeadbef568b14421269fa29439f64 /pthread_stop_world.c | |
parent | e52f30024f9e7722a00ac863a3c00ba0de459e4d (diff) | |
download | bdwgc-0d1ee29fa7df61197e4e9cd96824e057baec98b4.tar.gz |
openbsd related patches (#6358)
* include netinet/in.h for in_addr_t
* there is no need for an openbsd specific implementation anymore
so you use the generic pthread one
* signal.h is required for sigaltstack
* add missing mono/utils/mono-threads.h include
* there is no malloc.h on OpenBSD either
* sys/socket.h is required for struct sockaddr
* add support for btls on openbsd and default to with_tls=pthread as there is only emultls support which is not enough for mono
* there is no need for pthread_attr_init/destroy anymore
* add -Wl,-zwxneeded to LDFLAGS on OpenBSD
W^X is strictly enforced by default on OpenBSD;
a program can only violate it if it is located on a filesystem mounted
with the wxallowed mount(8) option and has been linked with the
above flag
Diffstat (limited to 'pthread_stop_world.c')
-rw-r--r-- | pthread_stop_world.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pthread_stop_world.c b/pthread_stop_world.c index afa77dad..f93ce26b 100644 --- a/pthread_stop_world.c +++ b/pthread_stop_world.c @@ -2,8 +2,7 @@ #if defined(GC_PTHREADS) && !defined(GC_SOLARIS_THREADS) \ && !defined(GC_IRIX_THREADS) && !defined(GC_WIN32_THREADS) \ - && !defined(GC_DARWIN_THREADS) && !defined(GC_AIX_THREADS) \ - && !defined(GC_OPENBSD_THREADS) + && !defined(GC_DARWIN_THREADS) && !defined(GC_AIX_THREADS) #include <signal.h> #include <semaphore.h> |