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

ruby-changes:33911

From: nobu <ko1@a...>
Date: Sun, 18 May 2014 14:46:41 +0900 (JST)
Subject: [ruby-changes:33911] nobu:r45992 (trunk): Makefile.sub: fix nextafter

nobu	2014-05-18 14:46:36 +0900 (Sun, 18 May 2014)

  New Revision: 45992

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

  Log:
    Makefile.sub: fix nextafter
    
    * win32/Makefile.sub (MISSING, CONFIG_H): msvcr120.dll provides
      nextafter() as well as other mathematic functions.  finite() and
      isnan() used in missing/nextafter.c are not by older runtimes.
      [Feature #9834]

  Modified files:
    trunk/win32/Makefile.sub
Index: win32/Makefile.sub
===================================================================
--- win32/Makefile.sub	(revision 45991)
+++ win32/Makefile.sub	(revision 45992)
@@ -235,9 +235,9 @@ LIBS = $(LIBS) iphlpapi.lib https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L235
 LIBS = $(LIBS) imagehlp.lib shlwapi.lib $(EXTLIBS)
 !endif
 !if !defined(MISSING)
-MISSING = crypt.obj ffs.obj langinfo.obj lgamma_r.obj nextafter.obj strlcat.obj strlcpy.obj win32/win32.obj win32/file.obj setproctitle.obj
+MISSING = crypt.obj ffs.obj langinfo.obj lgamma_r.obj strlcat.obj strlcpy.obj win32/win32.obj win32/file.obj setproctitle.obj
 !if $(RT_VER) < 120
-MISSING = $(MISSING) acosh.obj cbrt.obj erf.obj tgamma.obj
+MISSING = $(MISSING) acosh.obj cbrt.obj erf.obj tgamma.obj nextafter.obj finite.obj isnan.obj
 !endif
 !endif
 DLNOBJ = dln.obj
@@ -651,6 +651,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/ https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L651
 #define HAVE_ERFC 1
 #define HAVE_ROUND 1
 #define HAVE_TGAMMA 1
+#define HAVE_NEXTAFTER 1
 !endif
 #define HAVE_ALLOCA 1
 #define HAVE_DUP2 1

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

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