diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-30 07:39:45 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-30 07:39:45 +0000 |
commit | da20411b5127108f83188dbb7ca7a150687010c0 (patch) | |
tree | 9499bc7105e6df7be566d7020925f1998c5b6e32 /ext/readline | |
parent | e6c3b9cd107a2dc29a8e1c3f35dd90923cb0e200 (diff) |
merge revision(s) 45518: [Backport #9702]
* ext/readline/extconf.rb (rl_hook_func_t): check pointer type.
[ruby-dev:48089] [Bug #9702]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/readline')
-rw-r--r-- | ext/readline/extconf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/extconf.rb b/ext/readline/extconf.rb index db7dab439d..95cc91e46f 100644 --- a/ext/readline/extconf.rb +++ b/ext/readline/extconf.rb @@ -97,7 +97,7 @@ readline.have_func("remove_history") readline.have_func("clear_history") readline.have_func("rl_redisplay") readline.have_func("rl_insert_text") -unless readline.have_type("rl_hook_func_t") +unless readline.have_type("rl_hook_func_t*") $defs << "-Drl_hook_func_t=Function" end |