@@ -114,7 +114,7 @@ void init_threaddata(VM *vm) {
114114}
115115
116116void init_signals(void) {
117−#if (__linux__ || __APPLE__ || __FreeBSD__ || __DragonFly__)
117+#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)
118118 signal(SIGPIPE, SIG_IGN);
119119#endif
120120}
@@ -1225,6 +1225,7 @@ void idris_disableBuffering(void) {
12251225 setvbuf(stdout, NULL, _IONBF, 0);
12261226}
12271227
1228+#ifndef SEL4
12281229int idris_usleep(int usec) {
12291230 struct timespec t;
12301231 t.tv_sec = usec / 1000000;
@@ -1232,6 +1233,7 @@ int idris_usleep(int usec) {
12321233
12331234 return nanosleep(&t, NULL);
12341235}
1236+#endif // SEL4
12351237
12361238void stackOverflow(void) {
12371239 fprintf(stderr, "Stack overflow");