summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 6e0b1fe851..76d10cb50d 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -209,6 +209,12 @@ extern FILE *rb_w32_fsopen(const char *, const char *, int);
#ifndef finite
#define finite(x) _finite(x)
#endif
+#ifndef copysign
+#define copysign(a, b) _copysign(a, b)
+#endif
+#ifndef scalb
+#define scalb(a, b) _scalb(a, b)
+#endif
#endif
#ifdef __BORLANDC__