summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c4
1 files changed, 4 insertions, 0 deletions
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