summaryrefslogtreecommitdiff
path: root/ext/readline/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/readline/extconf.rb')
-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