diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-20 12:41:23 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-20 12:41:23 +0000 |
commit | b17bc954001848da03b12639ee459860fb584006 (patch) | |
tree | 968d49478e8fb4158bb7e6d33a6ff43bf279531b /ext | |
parent | 5cfba33a77d73bc09df850858ccd8ed8eb7014d4 (diff) |
* 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
Diffstat (limited to 'ext')
-rw-r--r-- | ext/curses/extconf.rb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/ext/curses/extconf.rb b/ext/curses/extconf.rb index 7c38bd9266..a23a64014e 100644 --- a/ext/curses/extconf.rb +++ b/ext/curses/extconf.rb @@ -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) |