[前][次][番号順一覧][スレッド一覧]

ruby-changes:27218

From: nobu <ko1@a...>
Date: Sat, 16 Feb 2013 12:58:12 +0900 (JST)
Subject: [ruby-changes:27218] nobu:r39270 (trunk): io/console: fix configuration failure

nobu	2013-02-16 12:58:04 +0900 (Sat, 16 Feb 2013)

  New Revision: 39270

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39270

  Log:
    io/console: fix configuration failure
    
    * ext/io/console/extconf.rb: fix configuration failure by missing
      cpp_include.

  Modified files:
    trunk/ext/io/console/extconf.rb

Index: ext/io/console/extconf.rb
===================================================================
--- ext/io/console/extconf.rb	(revision 39269)
+++ ext/io/console/extconf.rb	(revision 39270)
@@ -13,7 +13,7 @@ else https://github.com/ruby/ruby/blob/trunk/ext/io/console/extconf.rb#L13
   ok = false
 end
 ok &&= enable_config("io-console-force-compatible-with-1.8") ||
-  macro_defined?("HAVE_RUBY_IO_H", "ruby.h")
+  macro_defined?("HAVE_RUBY_IO_H", cpp_include("ruby.h"))
 if ok
   have_header("sys/ioctl.h")
   have_func("rb_check_hash_type", "ruby.h")

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]