summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--generic/tk.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 04fae8b..4d01c42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-09 Don Porter <dgp@users.sourceforge.net>
+
+ * generic/tk.h: Restore _TCL guards around tcl.h inclusion to restore
+ compat with early 8.4.* releases. Thanks Stuart Cassoff. [Bug 1723812]
+
2009-02-28 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/tkWindow.c: [Bug 2645457] check for dead windows after
diff --git a/generic/tk.h b/generic/tk.h
index 1e90659..d03ce55 100644
--- a/generic/tk.h
+++ b/generic/tk.h
@@ -12,16 +12,18 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tk.h,v 1.74.2.23 2008/08/06 16:54:48 jenglish Exp $
+ * RCS: @(#) $Id: tk.h,v 1.74.2.24 2009/04/09 15:57:52 dgp Exp $
*/
#ifndef _TK
#define _TK
+#ifndef _TCL
#include <tcl.h>
#if (TCL_MAJOR_VERSION != 8) || (TCL_MINOR_VERSION != 4)
# error Tk 8.4 must be compiled with tcl.h from Tcl 8.4
#endif
+#endif
/*
* For C++ compilers, use extern "C"