diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2003-12-09 15:27:46 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2003-12-09 15:27:46 (GMT) |
commit | 4e5360f74973e4d77b3a766a0ab4ac4e378421c4 (patch) | |
tree | 57aefbfafb00fe48c812a7e68700bfc57dd2fb98 /unix/tclUnixPort.h | |
parent | e59347aca80cd4e89dac4bea20bed1e42b090418 (diff) | |
download | tcl-4e5360f74973e4d77b3a766a0ab4ac4e378421c4.zip tcl-4e5360f74973e4d77b3a766a0ab4ac4e378421c4.tar.gz tcl-4e5360f74973e4d77b3a766a0ab4ac4e378421c4.tar.bz2 |
#ifdef'd out errno declarations; incompatible with recent glibc. [Bug 852369]
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r-- | unix/tclUnixPort.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index bfeb161..3dfd708 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.31 2003/11/14 23:21:02 dkf Exp $ + * RCS: @(#) $Id: tclUnixPort.h,v 1.32 2003/12/09 15:27:48 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 /* NO_ERRNO */ /* * Not all systems declare all the errors that Tcl uses! Provide some |