зеркало из https://github.com/github/ruby.git
readline/extconf.rb: rl_hook_func_t
* 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/trunk@45518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
c3699626da
Коммит
d2a8e28597
|
@ -1,3 +1,8 @@
|
||||||
|
Sat Apr 5 00:31:21 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/readline/extconf.rb (rl_hook_func_t): check pointer type.
|
||||||
|
[ruby-dev:48089] [Bug #9702]
|
||||||
|
|
||||||
Fri Apr 4 07:13:44 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Apr 4 07:13:44 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* configure.in (ac_cv_func___builtin_setjmp): should not skip
|
* configure.in (ac_cv_func___builtin_setjmp): should not skip
|
||||||
|
|
|
@ -98,7 +98,7 @@ readline.have_func("clear_history")
|
||||||
readline.have_func("rl_redisplay")
|
readline.have_func("rl_redisplay")
|
||||||
readline.have_func("rl_insert_text")
|
readline.have_func("rl_insert_text")
|
||||||
readline.have_func("rl_delete_text")
|
readline.have_func("rl_delete_text")
|
||||||
unless readline.have_type("rl_hook_func_t")
|
unless readline.have_type("rl_hook_func_t*")
|
||||||
# rl_hook_func_t is available since readline-4.2 (2001).
|
# rl_hook_func_t is available since readline-4.2 (2001).
|
||||||
# Function is removed at readline-6.3 (2014).
|
# Function is removed at readline-6.3 (2014).
|
||||||
# However, editline (NetBSD 6.1.3, 2014) doesn't have rl_hook_func_t.
|
# However, editline (NetBSD 6.1.3, 2014) doesn't have rl_hook_func_t.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче