diff options
author | hobbs <hobbs@noemail.net> | 2000-05-11 01:50:59 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2000-05-11 01:50:59 (GMT) |
commit | 20daa96ae9e7518982898a2f0a72c565fadb6c33 (patch) | |
tree | 1ce6830a0fd4d2702b85e2c41704dcbf8a009556 /generic/tclPosixStr.c | |
parent | 40f8cece4c05d28a724a93e5c8284b5daa154ed7 (diff) | |
download | tcl-20daa96ae9e7518982898a2f0a72c565fadb6c33.zip tcl-20daa96ae9e7518982898a2f0a72c565fadb6c33.tar.gz tcl-20daa96ae9e7518982898a2f0a72c565fadb6c33.tar.bz2 |
* generic/tclPosixStr.c (Tcl_SignalMsg): clarified #defines for
Linux on Sparc to compile correctly. [Bug: 5364]
FossilOrigin-Name: 23bdc0c3b56d79c848a6adea5bb4e6402d8253ae
Diffstat (limited to 'generic/tclPosixStr.c')
-rw-r--r-- | generic/tclPosixStr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclPosixStr.c b/generic/tclPosixStr.c index ded0024..9922ce1 100644 --- a/generic/tclPosixStr.c +++ b/generic/tclPosixStr.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclPosixStr.c,v 1.5 1999/08/21 19:41:04 hobbs Exp $ + * RCS: @(#) $Id: tclPosixStr.c,v 1.6 2000/05/11 01:50:59 hobbs Exp $ */ #include "tclInt.h" @@ -986,7 +986,7 @@ Tcl_SignalId(sig) #ifdef SIGPROF case SIGPROF: return "SIGPROF"; #endif -#if defined(SIGPWR) && (!defined(SIGXFSZ) || (SIGPWR != SIGXFSZ)) +#if defined(SIGPWR) && (!defined(SIGXFSZ) || (SIGPWR != SIGXFSZ)) && (!defined(SIGLOST) || (SIGPWR != SIGLOST)) case SIGPWR: return "SIGPWR"; #endif #ifdef SIGQUIT @@ -1118,7 +1118,7 @@ Tcl_SignalMsg(sig) #ifdef SIGPROF case SIGPROF: return "profiling alarm"; #endif -#if defined(SIGPWR) && (!defined(SIGXFSZ) || (SIGPWR != SIGXFSZ)) +#if defined(SIGPWR) && (!defined(SIGXFSZ) || (SIGPWR != SIGXFSZ)) && (!defined(SIGLOST) || (SIGPWR != SIGLOST)) case SIGPWR: return "power-fail restart"; #endif #ifdef SIGQUIT |