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

ruby-changes:43059

From: usa <ko1@a...>
Date: Mon, 23 May 2016 20:21:15 +0900 (JST)
Subject: [ruby-changes:43059] usa:r55133 (trunk): * ext/bigdecimal/bigdecimal.c (isfinite): get rid of a warning on

usa	2016-05-23 20:21:11 +0900 (Mon, 23 May 2016)

  New Revision: 55133

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55133

  Log:
    * ext/bigdecimal/bigdecimal.c (isfinite): get rid of a warning on
      cygwin. [Bug #12417][ruby-core:75691]

  Modified files:
    trunk/ChangeLog
    trunk/ext/bigdecimal/bigdecimal.c
Index: ext/bigdecimal/bigdecimal.c
===================================================================
--- ext/bigdecimal/bigdecimal.c	(revision 55132)
+++ ext/bigdecimal/bigdecimal.c	(revision 55133)
@@ -30,7 +30,7 @@ https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L30
 #include <ieeefp.h>
 #endif
 
-#if !defined(HAVE_ISFINITE) && defined(HAVE_FINITE)
+#if !defined(HAVE_ISFINITE) && defined(HAVE_FINITE) && !defined(isfinite)
 # define isfinite(x) finite(x)
 #endif
 
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 55132)
+++ ChangeLog	(revision 55133)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon May 23 20:20:12 2016  NAKAMURA Usaku  <usa@r...>
+
+	* ext/bigdecimal/bigdecimal.c (isfinite): get rid of a warning on
+	  cygwin. [Bug #12417][ruby-core:75691]
+
 Mon May 23 19:41:27 2016  Kazuki Yamaguchi  <k@r...>
 
 	* ext/openssl/ossl_rand.c (ossl_rand_egd, ossl_rand_egd_bytes):

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

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