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

ruby-changes:31156

From: nobu <ko1@a...>
Date: Thu, 10 Oct 2013 15:33:41 +0900 (JST)
Subject: [ruby-changes:31156] nobu:r43235 (trunk): numeric.c: no declaration of finite

nobu	2013-10-10 15:33:34 +0900 (Thu, 10 Oct 2013)

  New Revision: 43235

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

  Log:
    numeric.c: no declaration of finite
    
    * numeric.c (finite): disable declaration on Windows, which can be
      defined in ruby/win32.h.

  Modified files:
    trunk/numeric.c
Index: numeric.c
===================================================================
--- numeric.c	(revision 43234)
+++ numeric.c	(revision 43235)
@@ -30,7 +30,7 @@ https://github.com/ruby/ruby/blob/trunk/numeric.c#L30
 #include <ieeefp.h>
 #endif
 
-#if defined HAVE_FINITE && !defined finite
+#if defined HAVE_FINITE && !defined finite && !defined _WIN32
 extern int finite(double);
 #endif
 

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

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