aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-05-13 20:24:05 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-05-13 20:24:05 +0200
commit321459e9584e4f9b6c725f1e19effef693e3c561 (patch)
tree6d0dc68a4ee77f8a8a37b34a31ac1103bc802979 /src/blogc-make
parentf62faeb3ff69db2b1d27d775a7c30dbe4a78917c (diff)
downloadblogc-321459e9584e4f9b6c725f1e19effef693e3c561.tar.gz
blogc-321459e9584e4f9b6c725f1e19effef693e3c561.tar.bz2
blogc-321459e9584e4f9b6c725f1e19effef693e3c561.zip
make: trying to fix osx build due to lack of SIGRTMAX
Diffstat (limited to 'src/blogc-make')
-rw-r--r--src/blogc-make/reloader.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/blogc-make/reloader.c b/src/blogc-make/reloader.c
index 1bc7726..a010b51 100644
--- a/src/blogc-make/reloader.c
+++ b/src/blogc-make/reloader.c
@@ -19,6 +19,14 @@
#include "rules.h"
#include "reloader.h"
+// hack for osx
+#ifndef SIGRTMAX
+#ifdef NSIG
+#define SIGRTMAX NSIG
+#endif
+#endif
+
+
// we are not going to unit-test these functions, then printing errors
// directly is not a big issue