aboutsummaryrefslogtreecommitdiffstats
path: root/win32/win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h
index c6aabc42b5..ef4120dd8d 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -216,6 +216,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
#if 0 && defined __BORLANDC__