on master help sign in
Merge pull request #2887 from markuspf/add-dragonfly-fix

Add __DragonFly__ to the list of Unices.

commit07f6ff101d07153528ab1f02fda1548895b70a40 authorJan de Muijnck-Hughes <jfdm@users.noreply.github.com> dateThu 14 Jan 2016, 10:22 (11 years ago) parentcc95593cb31765
2 files changed+2−2
rts/idris_rts.c+1−1 rts/idris_rts.h+1−1
rts/idris_rts.c+1−1
@@ -95,7 +95,7 @@ void init_threaddata(VM *vm) {
9595}
9696
9797void init_signals() {
98−#if (__linux__ || __APPLE__ || __FreeBSD__)
98+#if (__linux__ || __APPLE__ || __FreeBSD__ || __DragonFly__)
9999 signal(SIGPIPE, SIG_IGN);
100100#endif
101101}
rts/idris_rts.h+1−1
@@ -9,7 +9,7 @@
99#include <pthread.h>
1010#endif
1111#include <stdint.h>
12−#if (__linux__ || __APPLE__ || __FreeBSD__)
12+#if (__linux__ || __APPLE__ || __FreeBSD__ || __DragonFly__)
1313#include <signal.h>
1414#endif
1515