summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-01 11:59:37 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-01 11:59:37 +0000
commitf2013ff844a456cdf81d74c4ac9b229d35bcec2a (patch)
treec8350f7bbda4c2d11c1fc06bf50e0df3534fadd7 /ext
parentab58587f6a3bbd3ca03d0707637712a166441142 (diff)
merge revision(s) r45518: [Backport #9578] [Backport #9630] [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_1@45773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/readline/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/extconf.rb b/ext/readline/extconf.rb
index 0477a513c7..8c3bffc26e 100644
--- a/ext/readline/extconf.rb
+++ b/ext/readline/extconf.rb
@@ -98,7 +98,7 @@ readline.have_func("clear_history")
readline.have_func("rl_redisplay")
readline.have_func("rl_insert_text")
readline.have_func("rl_delete_text")
-unless readline.have_type("rl_hook_func_t")
+unless readline.have_type("rl_hook_func_t*")
$defs << "-Drl_hook_func_t=Function"
end