From 625c1361e368f6f13f303de0310e6625d7b5296b Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 15 Aug 2003 03:01:52 +0000 Subject: * configure.in (HUGE_ST_INO): check whether struct stat.st_ino is larger than long. [ruby-dev:21194] http://www.geocities.co.jp/SiliconValley-PaloAlto/1409/ruby/beos.html * error.c (syserr_eqq): errno might exceed Fixnum limit. * error.c (Init_Exception): moved base initialization from init_syserr(). * inits.c (rb_call_inits): postpone initializing errnos until Bignum is available. * ext/curses/curses.c (_XOPEN_SOURCE_EXTENDED): needed to let keyname() and so on be declared. * ext/curses/curses.c (curses_resizeterm, window_resize): arguments conflicted with macros in term.h. * ext/curses/curses.c (Curses module methods): ensure initialized. [ruby-dev:21191] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/curses/extconf.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ext/curses/extconf.rb') diff --git a/ext/curses/extconf.rb b/ext/curses/extconf.rb index 94d1e2e549..46fcc8f471 100644 --- a/ext/curses/extconf.rb +++ b/ext/curses/extconf.rb @@ -13,10 +13,8 @@ elsif have_header("ncurses/curses.h") and have_library("ncurses", "initscr") make=true elsif have_header("curses_colr/curses.h") and have_library("cur_colr", "initscr") make=true -else - if have_header("curses.h") and have_library("curses", "initscr") +elsif have_header("curses.h") and have_library("curses", "initscr") make=true - end end if make -- cgit v1.2.3