1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/curses/extconf.rb: fold too long lines.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2012-02-20 12:41:23 +00:00
parent 5cfba33a77
commit b17bc95400
2 changed files with 14 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Mon Feb 20 21:40:53 2012 Tanaka Akira <akr@fsij.org>
* ext/curses/extconf.rb: fold too long lines.
Mon Feb 20 21:16:48 2012 Hiroshi Shirosaki <h.shirosaki@gmail.com>
* lib/fileutils.rb: revert a line modified accidentally at r34669.

View file

@ -39,11 +39,19 @@ elsif transact { have_header(*curses=%w"curses.h") and
end
if make
for f in %w(beep bkgd bkgdset curs_set deleteln doupdate flash getbkgd getnstr init isendwin keyname keypad resizeterm scrl set setscrreg ungetch wattroff wattron wattrset wbkgd wbkgdset wdeleteln wgetnstr wresize wscrl wsetscrreg def_prog_mode reset_prog_mode timeout wtimeout nodelay init_color wcolor_set use_default_colors newpad)
for f in %w(beep bkgd bkgdset curs_set deleteln doupdate flash
getbkgd getnstr init isendwin keyname keypad resizeterm
scrl set setscrreg ungetch
wattroff wattron wattrset wbkgd wbkgdset wdeleteln wgetnstr
wresize wscrl wsetscrreg
def_prog_mode reset_prog_mode timeout wtimeout nodelay
init_color wcolor_set use_default_colors newpad)
have_func(f) || (have_macro(f, curses) && $defs.push(format("-DHAVE_%s", f.upcase)))
end
flag = "-D_XOPEN_SOURCE_EXTENDED"
if try_static_assert("sizeof(char*)>sizeof(int)", %w[stdio.h stdlib.h]+curses , flag)
if try_static_assert("sizeof(char*)>sizeof(int)",
%w[stdio.h stdlib.h]+curses,
flag)
$defs << flag
end
have_var("ESCDELAY", curses)