diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-05-13 20:24:05 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-05-13 20:24:05 +0200 |
commit | 321459e9584e4f9b6c725f1e19effef693e3c561 (patch) | |
tree | 6d0dc68a4ee77f8a8a37b34a31ac1103bc802979 /src/blogc-make/reloader.c | |
parent | f62faeb3ff69db2b1d27d775a7c30dbe4a78917c (diff) | |
download | blogc-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/reloader.c')
-rw-r--r-- | src/blogc-make/reloader.c | 8 |
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 |