diff options
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.sub | 2 | ||||
-rw-r--r-- | win32/win32.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 85dd1ef394..073b9d6544 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -237,7 +237,7 @@ LIBS = $(LIBS) imagehlp.lib shlwapi.lib $(EXTLIBS) !if !defined(MISSING) 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 nextafter.obj finite.obj isnan.obj +MISSING = $(MISSING) acosh.obj cbrt.obj erf.obj tgamma.obj !endif !endif DLNOBJ = dln.obj diff --git a/win32/win32.c b/win32/win32.c index 1ca677b8dc..4ebf5c8e76 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -7214,3 +7214,7 @@ rb_w32_pow(double x, double y) return r; } #endif + +#if RUBY_MSVCRT_VERSION < 120 +#include "missing/nextafter.c" +#endif |