code clarification
This commit is contained in:
parent
f8af34a318
commit
701d506b3e
|
@ -61,9 +61,8 @@ s48_sysdep_init(void)
|
|||
#ifdef SIGIO
|
||||
s48_setcatcher(SIGIO, when_scsh_interrupt);
|
||||
#endif
|
||||
#if defined SIGPOLL && defined SIGIO && SIGPOLL != SIGIO
|
||||
s48_setcatcher(SIGPOLL, when_scsh_interrupt);
|
||||
#elseif defined SIGPOLL && !defined SIGIO
|
||||
#if defined SIGPOLL && ((defined SIGIO && SIGPOLL != SIGIO) || \
|
||||
!defined SIGIO)
|
||||
s48_setcatcher(SIGPOLL, when_scsh_interrupt);
|
||||
#endif
|
||||
#ifdef SIGPROF
|
||||
|
|
|
@ -25,9 +25,8 @@ int main(int argc, char* argv[]){
|
|||
#ifdef SIGIO
|
||||
case SIGIO : printf("scshint_io"); break;
|
||||
#endif
|
||||
#if defined SIGPOLL && defined SIGIO && SIGPOLL != SIGIO
|
||||
case SIGPOLL : printf("scshint_poll"); break;
|
||||
#elseif defined SIGPOLL && !defined SIGIO
|
||||
#if defined SIGPOLL && ((defined SIGIO && SIGPOLL != SIGIO) || \
|
||||
!defined SIGIO)
|
||||
case SIGPOLL : printf("scshint_poll"); break;
|
||||
#endif
|
||||
#ifdef SIGPROF
|
||||
|
|
Loading…
Reference in New Issue