diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-26 03:49:21 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-26 03:49:21 +0000 |
commit | f5d3990dbcd846a834e07011facc19298e4c746e (patch) | |
tree | bcfc68b5005eb4b437447be9e3e72cd3ba1bbba3 /ext/tcltklib/tcltklib.c | |
parent | 5941749afd4c1b3fe9d113a9324774b0183bb15e (diff) | |
download | ruby-f5d3990dbcd846a834e07011facc19298e4c746e.tar.gz ruby-f5d3990dbcd846a834e07011facc19298e4c746e.tar.xz ruby-f5d3990dbcd846a834e07011facc19298e4c746e.zip |
* ext/tcltklib/tcltklib.c: define CONST84 when TCL_MAJOR_VERSION == 7
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tcltklib/tcltklib.c')
-rw-r--r-- | ext/tcltklib/tcltklib.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/tcltklib/tcltklib.c b/ext/tcltklib/tcltklib.c index a7de96783..1c19ae6ce 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 */ |