summaryrefslogtreecommitdiff
path: root/ext/tcltklib
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
commit62ab025322838f01093a290df0cc503bc82a6081 (patch)
treeba258d0d78d7cfcdc4a709686924679718c7071e /ext/tcltklib
parentd543e30b231e4e619181cdbdba97f8973024ad60 (diff)
* ext/tcltklib/tcltklib.c: define CONST84 when TCL_MAJOR_VERSION == 7
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tcltklib')
-rw-r--r--ext/tcltklib/tcltklib.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/tcltklib/tcltklib.c b/ext/tcltklib/tcltklib.c
index ad7e377b66..6e962899e8 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 */