diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/tcltklib/tcltklib.c | 6 |
2 files changed, 10 insertions, 0 deletions
@@ -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 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 */ |