diff options
| author | dgp@users.sourceforge.net <dgp> | 2011-08-03 18:12:14 (GMT) |
|---|---|---|
| committer | dgp@users.sourceforge.net <dgp> | 2011-08-03 18:12:14 (GMT) |
| commit | f5f4664b551f0810c39504b541d257392733c0c4 (patch) | |
| tree | ad50a33fed1cf15445a811ad36b2dfe3699d3bea | |
| parent | 9c0d3f362707bf0c6d3189d72c3294e5328141f2 (diff) | |
| download | tcl-f5f4664b551f0810c39504b541d257392733c0c4.zip tcl-f5f4664b551f0810c39504b541d257392733c0c4.tar.gz tcl-f5f4664b551f0810c39504b541d257392733c0c4.tar.bz2 | |
Fix build on systems where ECANCELED == ELIBMAX
| -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 |
