Added platform dependent DEFAULT_SIGNAL define, for now for:

FreeBSD
Linux
Other platforms will have it undefined for now.
This commit is contained in:
Martin "eto" Misuth
2015-10-06 14:04:22 +02:00
parent 86417e4157
commit 2379835910
3 changed files with 12 additions and 3 deletions

View File

@ -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 },