summaryrefslogtreecommitdiff
path: root/ext/readline
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-02 06:22:27 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-02 06:22:27 +0000
commit083bf237596abd7b317bc891c5b6d766f299c62e (patch)
tree11bab2ef88066c452098c2e714485e9ad0107b61 /ext/readline
parentf9466a02cdd7502aa445d06e25ff45ed8548a0d4 (diff)
A comment added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/readline')
-rw-r--r--ext/readline/extconf.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/readline/extconf.rb b/ext/readline/extconf.rb
index 5e3c9ea..70dfd0b 100644
--- a/ext/readline/extconf.rb
+++ b/ext/readline/extconf.rb
@@ -99,6 +99,9 @@ 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")
+ # rl_hook_func_t is available since readline-4.2 (2001).
+ # Function is removed at readline-6.3 (2014).
+ # However, editline (NetBSD 6.1.3, 2014) doesn't have rl_hook_func_t.
$DEFS << "-Drl_hook_func_t=Function"
end