summaryrefslogtreecommitdiff
path: root/ext/tcltklib
diff options
context:
space:
mode:
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 a7de967838..1c19ae6cef 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 */