summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-08-22 18:16:44 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-08-22 18:16:44 (GMT)
commit6b0fac94b5b540742b1e77429ec272b94107fe4c (patch)
tree0a965e96da426f350b0229f7445e292acd7cd08a
parentc531d0f4476d9cbe08053202cb8ba541451b99bf (diff)
downloadtcl-6b0fac94b5b540742b1e77429ec272b94107fe4c.zip
tcl-6b0fac94b5b540742b1e77429ec272b94107fe4c.tar.gz
tcl-6b0fac94b5b540742b1e77429ec272b94107fe4c.tar.bz2
* generic/tcl.h: Drop use of USE_COMPAT85_CONST. That added
indirection without value. Use -DCONST86="" to engage source compat support for code written for 8.5 headers.
-rw-r--r--ChangeLog4
-rw-r--r--generic/tcl.h6
2 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index a3a47e8..efd5390 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2008-08-22 Don Porter <dgp@users.sourceforge.net>
+ * generic/tcl.h: Drop use of USE_COMPAT85_CONST. That added
+ indirection without value. Use -DCONST86="" to engage source compat
+ support for code written for 8.5 headers.
+
* generic/tclUtil.c (TclReToGlob): Added missing set of the
*exactPtr value to really fix [Bug 2065115]. Also avoid possible
DString overflow.
diff --git a/generic/tcl.h b/generic/tcl.h
index ba0d938..abde870 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tcl.h,v 1.265 2008/08/21 21:35:37 dgp Exp $
+ * RCS: @(#) $Id: tcl.h,v 1.266 2008/08/22 18:16:44 dgp Exp $
*/
#ifndef _TCL
@@ -261,9 +261,7 @@ extern "C" {
# endif
#endif
-#ifdef USE_COMPAT85_CONST
-# define CONST86
-#else
+#ifndef CONST86
# define CONST86 CONST
#endif