From: Ulrich Drepper Date: Tue, 23 Nov 1999 17:06:27 +0000 (+0000) Subject: Avoid declaring the same field twice if SIGPWR is defined to SIGLOST. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1a544407e49029a65e9ff72ca47c950c3ae5895;p=thirdparty%2Fglibc.git Avoid declaring the same field twice if SIGPWR is defined to SIGLOST. --- diff --git a/sysdeps/generic/siglist.h b/sysdeps/generic/siglist.h index c5867bcceff..15fb3fa6012 100644 --- a/sysdeps/generic/siglist.h +++ b/sysdeps/generic/siglist.h @@ -67,7 +67,7 @@ #endif #ifdef SIGINFO init_sig (SIGINFO, "INFO", N_("Information request")) -#elif defined(SIGPWR) +#elif defined(SIGPWR) && (!defined(SIGLOST) || (SIGPWR != SIGLOST)) init_sig (SIGPWR, "PWR", N_("Power failure")) #endif #ifdef SIGLOST