Check wether some SVR4 defines SIGPOLL equal to SIGIO
This commit is contained in:
parent
b8c0e87293
commit
f8af34a318
|
@ -61,7 +61,9 @@ s48_sysdep_init(void)
|
||||||
#ifdef SIGIO
|
#ifdef SIGIO
|
||||||
s48_setcatcher(SIGIO, when_scsh_interrupt);
|
s48_setcatcher(SIGIO, when_scsh_interrupt);
|
||||||
#endif
|
#endif
|
||||||
#ifdef SIGPOLL
|
#if defined SIGPOLL && defined SIGIO && SIGPOLL != SIGIO
|
||||||
|
s48_setcatcher(SIGPOLL, when_scsh_interrupt);
|
||||||
|
#elseif defined SIGPOLL && !defined SIGIO
|
||||||
s48_setcatcher(SIGPOLL, when_scsh_interrupt);
|
s48_setcatcher(SIGPOLL, when_scsh_interrupt);
|
||||||
#endif
|
#endif
|
||||||
#ifdef SIGPROF
|
#ifdef SIGPROF
|
||||||
|
|
|
@ -25,7 +25,9 @@ int main(int argc, char* argv[]){
|
||||||
#ifdef SIGIO
|
#ifdef SIGIO
|
||||||
case SIGIO : printf("scshint_io"); break;
|
case SIGIO : printf("scshint_io"); break;
|
||||||
#endif
|
#endif
|
||||||
#ifdef SIGPOLL
|
#if defined SIGPOLL && defined SIGIO && SIGPOLL != SIGIO
|
||||||
|
case SIGPOLL : printf("scshint_poll"); break;
|
||||||
|
#elseif defined SIGPOLL && !defined SIGIO
|
||||||
case SIGPOLL : printf("scshint_poll"); break;
|
case SIGPOLL : printf("scshint_poll"); break;
|
||||||
#endif
|
#endif
|
||||||
#ifdef SIGPROF
|
#ifdef SIGPROF
|
||||||
|
|
Loading…
Reference in New Issue