aboutsummaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c4
-rw-r--r--win32/win32.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/win32/win32.c b/win32/win32.c
index ab9a438ca1..c0aff25619 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -363,6 +363,10 @@ NtInitialize(int *argc, char ***argv)
WORD version;
int ret;
+#ifdef __BORLANDC__
+ _controlfp(0x5, 0x5);
+#endif
+
//
// subvert cmd.exe's feeble attempt at command line parsing
//
diff --git a/win32/win32.h b/win32/win32.h
index f8bf377409..b378fb23cd 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -177,9 +177,6 @@ extern pid_t rb_w32_getpid(void);
#ifdef __BORLANDC__
#include <float.h>
-#ifndef isinf
-#define isinf !_finite
-#endif
#ifndef isnan
#define isnan _isnan
#endif