diff options
author | Robert Nagy <robert@openbsd.org> | 2018-01-08 12:25:19 +0300 |
---|---|---|
committer | Ludovic Henry <luhenry@microsoft.com> | 2018-01-08 12:25:19 +0300 |
commit | e31ecb3b41989ab1252708c3f5622049a3af26ef (patch) | |
tree | 90018ca81672b7e60d6404e1a340a5e51184c3c2 /libgc/pthread_stop_world.c | |
parent | 3277e2be43031d1e03e934b9334ec811ee851e04 (diff) |
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 'libgc/pthread_stop_world.c')
-rw-r--r-- | libgc/pthread_stop_world.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libgc/pthread_stop_world.c b/libgc/pthread_stop_world.c index afa77dadfab..f93ce26b562 100644 --- a/libgc/pthread_stop_world.c +++ b/libgc/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> |