mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3b8b470c8e
commit
d7df70c08f
1 changed files with 3 additions and 2 deletions
|
@ -235,9 +235,9 @@ LIBS = $(LIBS) iphlpapi.lib
|
|||
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/Makefile.sub $(win_srcdir)/Makefile.sub
|
|||
#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
|
||||
|
|
Loading…
Reference in a new issue