diff options
author | Martin "eto" Misuth <et.code@ethome.sk> | 2015-10-06 14:04:22 +0200 |
---|---|---|
committer | Martin "eto" Misuth <et.code@ethome.sk> | 2015-10-06 14:04:22 +0200 |
commit | 23798359102a70c662d095722c96229b605175dc (patch) | |
tree | 83db8af90e68ccf706c6cb4992c6573cc3709dac /freebsd | |
parent | 86417e415743ab2ba8feaa83ba303039ea10a012 (diff) |
Added platform dependent DEFAULT_SIGNAL define, for now for:
FreeBSD
Linux
Other platforms will have it undefined for now.
Diffstat (limited to 'freebsd')
-rw-r--r-- | freebsd/Platform.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/freebsd/Platform.c b/freebsd/Platform.c index 64e5e95f..566a6097 100644 --- a/freebsd/Platform.c +++ b/freebsd/Platform.c @@ -31,6 +31,10 @@ in the source distribution for its full text. extern ProcessFieldData Process_fields[]; +#ifndef DEFAULT_SIGNAL +#define DEFAULT_SIGNAL 15 +#endif + static SignalItem Platform_signals[] = { { .name = " 0 Cancel", .number = 0 }, { .name = " 1 SIGHUP", .number = 1 }, |