diff options
author | dgp <dgp@users.sourceforge.net> | 2013-01-03 14:07:59 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-01-03 14:07:59 (GMT) |
commit | 48143d187fb873f63506cd876c54d06247071ff0 (patch) | |
tree | c9ff542c1f6c79a99d10d8517d5462604ccc5a65 | |
parent | aada09aa918105dd70186da6252c8a92d444b580 (diff) | |
download | tcl-core_8_0_3_pr.zip tcl-core_8_0_3_pr.tar.gz tcl-core_8_0_3_pr.tar.bz2 |
Post-release revisions to restore building on later platforms.core_8_0_3_pr
-rw-r--r-- | generic/tclPosixStr.c | 6 | ||||
-rw-r--r-- | unix/configure.in | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclPosixStr.c b/generic/tclPosixStr.c index 8c7c5ad..2ae0a56 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.2 1998/09/14 18:40:01 stanton Exp $ + * SCCS: @(#) tclPosixStr.c 1.33 97/10/08 12:40:12 */ #include "tclInt.h" @@ -336,7 +336,7 @@ Tcl_ErrnoId() #ifdef ENXIO case ENXIO: return "ENXIO"; #endif -#ifdef EOPNOTSUPP +#if defined(EOPNOTSUPP) && (!defined(ENOTSUP) || (ENOTSUP != EOPNOTSUPP)) case EOPNOTSUPP: return "EOPNOTSUPP"; #endif #ifdef EPERM @@ -783,7 +783,7 @@ Tcl_ErrnoMsg(err) #ifdef ENXIO case ENXIO: return "no such device or address"; #endif -#ifdef EOPNOTSUPP +#if defined(EOPNOTSUPP) && (!defined(ENOTSUP) || (ENOTSUP != EOPNOTSUPP)) case EOPNOTSUPP: return "operation not supported on socket"; #endif #ifdef EPERM diff --git a/unix/configure.in b/unix/configure.in index 86d189b..50947e28 100644 --- a/unix/configure.in +++ b/unix/configure.in @@ -643,7 +643,7 @@ else # results, and the version is kept in special file). if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then - system=MP-RAS-`awk '{print $3}' /etc/.relid'` + system=MP-RAS-`awk '{print $3}' /etc/.relid` fi if test "`uname -s`" = "AIX" ; then system=AIX-`uname -v`.`uname -r` @@ -1126,7 +1126,7 @@ else # results, and the version is kept in special file). if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then - system=MP-RAS-`awk '{print $3}' /etc/.relid'` + system=MP-RAS-`awk '{print $3}' /etc/.relid` fi if test "`uname -s`" = "AIX" ; then system=AIX-`uname -v`.`uname -r` |