non-posix signal numbers are defined if not existed

This commit is contained in:
mainzelm 2000-12-14 18:51:10 +00:00
parent c51640a971
commit 747dfe20df
1 changed files with 25 additions and 0 deletions

View File

@ -1,6 +1,31 @@
#include "scsh_aux.h"
#include <signal.h>
#ifndef SIGURG
#define SIGURG 9999
#endif
#ifndef SIGXCPU
#define SIGXCPU 9999
#endif
#ifndef SIGXFSZ
#define SIGXFSZ 9999
#endif
#ifndef SIGVTALRM
#define SIGVTALRM 9999
#endif
#ifndef SIGPROF
#define SIGPROF 9999
#endif
#ifndef SIGWINCH
#define SIGWINCH 9999
#endif
#ifndef SIGIO
#define SIGIO 9999
#endif
#ifndef SIGPWR
#define SIGPWR 9999
#endif
int main(int argc, char* argv[]){
int signr = atoi(argv[1]);