Update of /cvsroot/scsh/scsh-0.6/scsh
In directory slayer.i.sourceforge.net:/tmp/cvs-serv27597/scsh
Modified Files:
scsh_aux.c
Log Message:
non-posix signal numbers are defined if not existed
Index: scsh_aux.c
===================================================================
RCS file: /cvsroot/scsh/scsh-0.6/scsh/scsh_aux.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** scsh_aux.c 2000/12/14 18:41:11 1.1
--- scsh_aux.c 2000/12/14 18:51:10 1.2
***************
*** 2,5 ****
--- 2,30 ----
#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]);
|