From 747dfe20df6aa3aa5013c863acbd52e7a49e251e Mon Sep 17 00:00:00 2001 From: mainzelm Date: Thu, 14 Dec 2000 18:51:10 +0000 Subject: [PATCH] non-posix signal numbers are defined if not existed --- scsh/scsh_aux.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/scsh/scsh_aux.c b/scsh/scsh_aux.c index 7374c5f..12a5c3b 100644 --- a/scsh/scsh_aux.c +++ b/scsh/scsh_aux.c @@ -1,6 +1,31 @@ #include "scsh_aux.h" #include +#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]);