code clarification

This commit is contained in:
mainzelm 2000-12-21 16:09:52 +00:00
parent f8af34a318
commit 701d506b3e
2 changed files with 4 additions and 6 deletions

View File

@ -61,9 +61,8 @@ s48_sysdep_init(void)
#ifdef SIGIO #ifdef SIGIO
s48_setcatcher(SIGIO, when_scsh_interrupt); s48_setcatcher(SIGIO, when_scsh_interrupt);
#endif #endif
#if defined SIGPOLL && defined SIGIO && SIGPOLL != SIGIO #if defined SIGPOLL && ((defined SIGIO && SIGPOLL != SIGIO) || \
s48_setcatcher(SIGPOLL, when_scsh_interrupt); !defined SIGIO)
#elseif defined SIGPOLL && !defined SIGIO
s48_setcatcher(SIGPOLL, when_scsh_interrupt); s48_setcatcher(SIGPOLL, when_scsh_interrupt);
#endif #endif
#ifdef SIGPROF #ifdef SIGPROF

View File

@ -25,9 +25,8 @@ int main(int argc, char* argv[]){
#ifdef SIGIO #ifdef SIGIO
case SIGIO : printf("scshint_io"); break; case SIGIO : printf("scshint_io"); break;
#endif #endif
#if defined SIGPOLL && defined SIGIO && SIGPOLL != SIGIO #if defined SIGPOLL && ((defined SIGIO && SIGPOLL != SIGIO) || \
case SIGPOLL : printf("scshint_poll"); break; !defined SIGIO)
#elseif defined SIGPOLL && !defined SIGIO
case SIGPOLL : printf("scshint_poll"); break; case SIGPOLL : printf("scshint_poll"); break;
#endif #endif
#ifdef SIGPROF #ifdef SIGPROF