summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
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 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