From d31eccb60589f5a8d2b42ed1bf546b41a4512959 Mon Sep 17 00:00:00 2001 From: mainzelm Date: Wed, 9 Jan 2002 12:59:13 +0000 Subject: [PATCH] Check if SIGINFO and SIGPWR are the same (HP-UX 10.2). --- scsh/scsh_aux.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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;