diff options
author | dgp <dgp@noemail.net> | 2011-08-03 18:12:14 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2011-08-03 18:12:14 (GMT) |
commit | 8f3fea13016cb3fbd25dc2258dea0547f5de1866 (patch) | |
tree | ad50a33fed1cf15445a811ad36b2dfe3699d3bea /generic/tclPosixStr.c | |
parent | aa5005da7d70041143b29e6e4c99d8225dbc08cc (diff) | |
download | tcl-8f3fea13016cb3fbd25dc2258dea0547f5de1866.zip tcl-8f3fea13016cb3fbd25dc2258dea0547f5de1866.tar.gz tcl-8f3fea13016cb3fbd25dc2258dea0547f5de1866.tar.bz2 |
Fix build on systems where ECANCELED == ELIBMAX
FossilOrigin-Name: a26df401f3056d3f7788bdfbf634f56bf204178b
Diffstat (limited to 'generic/tclPosixStr.c')
-rw-r--r-- | generic/tclPosixStr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclPosixStr.c b/generic/tclPosixStr.c index b722336..d0002ec 100644 --- a/generic/tclPosixStr.c +++ b/generic/tclPosixStr.c @@ -203,7 +203,7 @@ Tcl_ErrnoId(void) #ifdef ELIBEXEC case ELIBEXEC: return "ELIBEXEC"; #endif -#ifdef ELIBMAX +#if defined(ELIBMAX) && (!defined(ECANCELED) || (ELIBMAX != ECANCELED)) case ELIBMAX: return "ELIBMAX"; #endif #ifdef ELIBSCN @@ -662,7 +662,7 @@ Tcl_ErrnoMsg( #ifdef ELIBEXEC case ELIBEXEC: return "cannot exec a shared library directly"; #endif -#ifdef ELIBMAX +#if defined(ELIBMAX) && (!defined(ECANCELED) || (ELIBMAX != ECANCELED)) case ELIBMAX: return "attempting to link in more shared libraries than system limit"; #endif |