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

ruby-changes:16308

From: akr <ko1@a...>
Date: Fri, 11 Jun 2010 23:00:49 +0900 (JST)
Subject: [ruby-changes:16308] Ruby:r28280 (trunk): * include/ruby/missing.h (isnan): fix compilation error on OpenBSD.

akr	2010-06-11 23:00:35 +0900 (Fri, 11 Jun 2010)

  New Revision: 28280

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

  Log:
    * include/ruby/missing.h (isnan): fix compilation error on OpenBSD.

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/missing.h

Index: include/ruby/missing.h
===================================================================
--- include/ruby/missing.h	(revision 28279)
+++ include/ruby/missing.h	(revision 28280)
@@ -112,8 +112,10 @@
 # endif
 #endif
 
-#ifndef HAVE_ISNAN
+#ifndef isnan
+# ifndef HAVE_ISNAN
 RUBY_EXTERN int isnan(double);
+# endif
 #endif
 
 /*
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 28279)
+++ ChangeLog	(revision 28280)
@@ -1,3 +1,7 @@
+Fri Jun 11 22:59:31 2010  Tanaka Akira  <akr@f...>
+
+	* include/ruby/missing.h (isnan): fix compilation error on OpenBSD.
+
 Fri Jun 11 22:39:50 2010  Yusuke Endoh  <mame@t...>
 
 	* lib/rubygems/install_update_options.rb

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

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