summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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