summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2003-12-09 15:32:18 (GMT)
committerdkf <dkf@noemail.net>2003-12-09 15:32:18 (GMT)
commitcf367f8e5a42820f546fafd02037542a2f76abc8 (patch)
treee3844e03bf12ae0e74b999b696545fd09563ce08 /unix/tclUnixPort.h
parent0c6761b585140b2ac19c033955236683241a8944 (diff)
downloadtcl-cf367f8e5a42820f546fafd02037542a2f76abc8.zip
tcl-cf367f8e5a42820f546fafd02037542a2f76abc8.tar.gz
tcl-cf367f8e5a42820f546fafd02037542a2f76abc8.tar.bz2
#ifdef'd out errno declarations; incompatible with recent glibc. [Bug 852369]
FossilOrigin-Name: d0ff553585b09fb8d82cbe4f20b93ce61cabd0f9
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 8574bfa..d694488 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -19,7 +19,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixPort.h,v 1.27.2.1 2003/05/13 08:41:26 das Exp $
+ * RCS: @(#) $Id: tclUnixPort.h,v 1.27.2.2 2003/12/09 15:32:21 dkf Exp $
*/
#ifndef _TCLUNIXPORT
@@ -464,7 +464,9 @@ EXTERN int gettimeofday _ANSI_ARGS_((struct timeval *tp,
* isn't generally declared in a header file anywhere.
*/
+#ifdef NO_ERRNO
extern int errno;
+#endif
/*
* Not all systems declare all the errors that Tcl uses! Provide some