diff options
author | hobbs <hobbs> | 2000-05-11 01:50:59 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2000-05-11 01:50:59 (GMT) |
commit | 382ef81951b32e3d339ec13fd4a56e61aa47ffc2 (patch) | |
tree | 1ce6830a0fd4d2702b85e2c41704dcbf8a009556 /generic | |
parent | ad1f0eb904c70e79aa816aac3dcd6374436cc72f (diff) | |
download | tcl-382ef81951b32e3d339ec13fd4a56e61aa47ffc2.zip tcl-382ef81951b32e3d339ec13fd4a56e61aa47ffc2.tar.gz tcl-382ef81951b32e3d339ec13fd4a56e61aa47ffc2.tar.bz2 |
* generic/tclPosixStr.c (Tcl_SignalMsg): clarified #defines for
Linux on Sparc to compile correctly. [Bug: 5364]
Diffstat (limited to 'generic')
-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 |