Consolidated patch of previously merged CYGWIN support
The combined results of merge request #49 without that overhead plus distortion in this repository's history. Prototyped-by: Wayne Porter <wporter82@gmail.com>
This commit is contained in:
committed by
Craig Small
parent
854e2c5528
commit
53e101452f
5
skill.c
5
skill.c
@@ -743,6 +743,11 @@ int main(int argc, char ** argv)
|
||||
else if (strcmp(program_invocation_short_name, "snice") == 0 ||
|
||||
strcmp(program_invocation_short_name, "lt-snice") == 0)
|
||||
program = PROG_SNICE;
|
||||
#ifdef __CYGWIN__
|
||||
else if (strcmp(program_invocation_short_name, "prockill") == 0 ||
|
||||
strcmp(program_invocation_short_name, "lt-prockill") == 0)
|
||||
program = PROG_KILL;
|
||||
#endif
|
||||
|
||||
switch (program) {
|
||||
case PROG_SNICE:
|
||||
|
Reference in New Issue
Block a user