diff --git a/scsh/scsh_aux.c b/scsh/scsh_aux.c index c7be197..bcc54fc 100644 --- a/scsh/scsh_aux.c +++ b/scsh/scsh_aux.c @@ -32,8 +32,9 @@ int main(int argc, char* argv[]){ #ifdef SIGPROF case SIGPROF : printf("scshint_prof"); break; #endif -#ifdef SIGPWR - case SIGPWR : printf("scshint_pwr"); break; +#if defined SIGPWR && ((defined SIGINFO && SIGPWR != SIGINFO) || \ + !defined SIGINFO) + case SIGPWR : printf("scshint_pwr"); break; #endif #ifdef SIGURG case SIGURG : printf("scshint_urg"); break;