summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-26 03:49:21 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-26 03:49:21 +0000
commit7d20f65ce8cc01752cba51bf16095a9843322a9d (patch)
treeba258d0d78d7cfcdc4a709686924679718c7071e
parente569dc5ec95a0d114e4efd1da85193d95f31f9d3 (diff)
* ext/tcltklib/tcltklib.c: define CONST84 when TCL_MAJOR_VERSION == 7
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--ext/tcltklib/tcltklib.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e27b9fcc3..e2f59d3c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Jan 26 12:47:17 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
+
+ * ext/tcltklib/tcltklib.c: define CONST84 when TCL_MAJOR_VERSION == 7
+
Mon Jan 26 11:35:23 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/extmk.rb: Makefiles should depend on also rbconfig.rb.
diff --git a/ext/tcltklib/tcltklib.c b/ext/tcltklib/tcltklib.c
index ad7e377b6..6e962899e 100644
--- a/ext/tcltklib/tcltklib.c
+++ b/ext/tcltklib/tcltklib.c
@@ -36,6 +36,12 @@
# endif
# endif
# endif
+#else /* TCL_MAJOR_VERSION == 7 */
+# ifdef CONST
+# define CONST84 CONST
+# else
+# define CONST84
+# endif
#endif
/* for ruby_debug */