summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2005-12-06 08:06:57 (GMT)
committerdas <das>2005-12-06 08:06:57 (GMT)
commit66205f57ab6edb595fd1223f7a44787d01f31dc8 (patch)
treebe5d5b5078078ada52d80e56fca789fb9e1bc174
parentcc1b97ab4fa3a3af2fc3abecb85ec34fd187fdf2 (diff)
downloadtcl-66205f57ab6edb595fd1223f7a44787d01f31dc8.zip
tcl-66205f57ab6edb595fd1223f7a44787d01f31dc8.tar.gz
tcl-66205f57ab6edb595fd1223f7a44787d01f31dc8.tar.bz2
* unix/tclUnixPort.h (Darwin): fix incorrect __DARWIN_UNIX03 configure
overrides that were originally copied from Darwin CVS (rdar://3693001).
-rw-r--r--ChangeLog5
-rw-r--r--unix/tclUnixPort.h18
2 files changed, 15 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 0ccb35b..3cff2b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-05 Daniel Steffen <das@users.sourceforge.net>
+
+ * unix/tclUnixPort.h (Darwin): fix incorrect __DARWIN_UNIX03 configure
+ overrides that were originally copied from Darwin CVS (rdar://3693001).
+
2005-12-05 Kevin B. Kenny <kennykb@acm.org>
* tools/tclZIC.tcl: Updated to reflect changes in calling sequence
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index d2a64e1..798305f 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.43 2005/11/27 02:33:50 das Exp $
+ * RCS: @(#) $Id: tclUnixPort.h,v 1.44 2005/12/06 08:06:58 das Exp $
*/
#ifndef _TCLUNIXPORT
@@ -510,13 +510,15 @@ extern double strtod();
# ifdef __LP64__
# undef HAVE_COREFOUNDATION
# endif /* __LP64__ */
-# ifdef __DARWIN_UNIX03
-# define USE_TERMIOS 1
-# undef HAVE_PUTENV_THAT_COPIES
-# else /* !__DARWIN_UNIX03 */
-# undef USE_TERMIOS
-# define HAVE_PUTENV_THAT_COPIES 1
-# endif /* __DARWIN_UNIX03 */
+# include <sys/cdefs.h>
+# if defined(__DARWIN_UNIX03)
+# if __DARWIN_UNIX03
+# undef HAVE_PUTENV_THAT_COPIES
+# else /* !__DARWIN_UNIX03 */
+# define HAVE_PUTENV_THAT_COPIES 1
+# endif /* __DARWIN_UNIX03 */
+# define USE_TERMIOS 1
+# endif /* defined(__DARWIN_UNIX03) */
#endif /* __APPLE__ */
/*