summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 34bd15eb26..291dc2aebe 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -6969,6 +6969,7 @@ rb_w32_unwrap_io_handle(int fd)
double
rb_w32_pow(double x, double y)
{
+#undef pow
double r;
unsigned int default_control = _controlfp(0, 0);
_controlfp(_PC_64, _MCW_PC);