Add __DragonFly__ to the list of Unices.
commitcb317656af2866e98c88c8845e7bc7d3859fb556
authorMarkus Pfeiffer <markus.pfeiffer@morphism.de>
dateFri 8 Jan 2016, 22:39 (11 years ago)
parent79ff02f
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