summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2009-10-06 16:31:01 (GMT)
committerdgp <dgp@users.sourceforge.net>2009-10-06 16:31:01 (GMT)
commit557af2c1ada9cecaa0e11f3a7f5c3c19056c5061 (patch)
tree12850c5a1ceb00d5c9d56737092003c5fa35ad4d
parent2e39402782031ee79d14b572fae56c5d7f5d73a0 (diff)
downloadtcl-557af2c1ada9cecaa0e11f3a7f5c3c19056c5061.zip
tcl-557af2c1ada9cecaa0e11f3a7f5c3c19056c5061.tar.gz
tcl-557af2c1ada9cecaa0e11f3a7f5c3c19056c5061.tar.bz2
* generic/tclTomMathInt.h (new): Public header tclTomMath.h had
* generic/tclTomMath.h: dependence on private headers, breaking use * generic/tommath.h: by extensions [Bug 1941434].
-rw-r--r--ChangeLog6
-rw-r--r--generic/tclTomMath.h6
-rw-r--r--generic/tclTomMathInt.h2
-rw-r--r--generic/tommath.h2
4 files changed, 11 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 76df6b7..6eac1bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-10-06 Don Porter <dgp@users.sourceforge.net>
+
+ * generic/tclTomMathInt.h (new): Public header tclTomMath.h had
+ * generic/tclTomMath.h: dependence on private headers, breaking use
+ * generic/tommath.h: by extensions [Bug 1941434].
+
2009-10-05 Andreas Kupries <andreask@activestate.com>
* library/safe.tcl (AliasGlob): Fixed conversion of catch to
diff --git a/generic/tclTomMath.h b/generic/tclTomMath.h
index d794316..48bb603 100644
--- a/generic/tclTomMath.h
+++ b/generic/tclTomMath.h
@@ -26,8 +26,6 @@
#include <ctype.h>
#include <limits.h>
-#include <tommath_class.h>
-
#ifndef MIN
#define MIN(x,y) ((x)<(y)?(x):(y))
#endif
@@ -840,6 +838,6 @@ MODULE_SCOPE const char *mp_s_rmap;
/* $Source: /root/tcl/repos-to-convert/tcl/generic/tclTomMath.h,v $ */
/* Based on Tom's version 1.8 */
-/* $Revision: 1.10 $ */
-/* $Date: 2007/02/14 17:59:21 $ */
+/* $Revision: 1.11 $ */
+/* $Date: 2009/10/06 16:31:01 $ */
diff --git a/generic/tclTomMathInt.h b/generic/tclTomMathInt.h
new file mode 100644
index 0000000..1b9eb64
--- /dev/null
+++ b/generic/tclTomMathInt.h
@@ -0,0 +1,2 @@
+#include "tclTomMath.h"
+#include "tommath_class.h"
diff --git a/generic/tommath.h b/generic/tommath.h
index 4ce3e43..028a84d 100644
--- a/generic/tommath.h
+++ b/generic/tommath.h
@@ -1 +1 @@
-#include "tclTomMath.h"
+#include "tclTomMathInt.h"