diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-29 22:00:34 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-29 22:00:34 +0000 |
commit | b9bdeb035c1a182d48918c41ab13f8f122272a51 (patch) | |
tree | 9fd56638e1f769df97cf802d3391104863d09f5d /ext/tk/tcltklib.c | |
parent | a51d3fd03b7b9bc40e084bdb374d27f54877930d (diff) |
* ext/tk/tcltklib.c: rb_hash_lookup has not been backported yet.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/tcltklib.c')
-rw-r--r-- | ext/tk/tcltklib.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/tk/tcltklib.c b/ext/tk/tcltklib.c index 18e0fd76fb..51e2b65198 100644 --- a/ext/tk/tcltklib.c +++ b/ext/tk/tcltklib.c @@ -189,6 +189,10 @@ static Tcl_ObjType *Tcl_ObjType_String; #endif #endif +#ifndef HAVE_RB_HASH_LOOKUP +#define rb_hash_lookup rb_hash_aref +#endif + /* safe Tcl_Eval and Tcl_GlobalEval */ static int #ifdef RUBY_VM |