summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-18 02:10:34 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-18 02:10:34 +0000
commit3a48e126073a0bba09372412f15e7792e6409129 (patch)
tree11316d5e0c8b5e50b0a4219680a0ef6e04081420 /numeric.c
parente91baf5634c419247a176f60e399a9446ff2ccf7 (diff)
* numeric.c: Good-by Borland-C.
* include/ruby/backward/rubyio.h: ditto. * include/ruby/backward/st.h: ditto. * include/ruby/backward/util.h: ditto. * include/ruby/backward/rubysig.h: ditto. * include/ruby/backward/classext.h: ditto. * dln.c: ditto. * gc.c: ditto. * win32/resource.rb: ditto. * win32/dir.h: ditto. * ext/tk/tcltklib.c: ditto. * NEWS: announce that Borland-C is no longer supported. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/numeric.c b/numeric.c
index 68b4da686d..830ffb95b4 100644
--- a/numeric.c
+++ b/numeric.c
@@ -4154,10 +4154,6 @@ Init_Numeric(void)
#elif defined(_UNICOSMP)
/* Turn off floating point exceptions for divide by zero, etc. */
_set_Creg(0, 0);
-#elif defined(__BORLANDC__)
- /* Turn off floating point exceptions for overflow, etc. */
- _control87(MCW_EM, MCW_EM);
- _control87(_control87(0,0),0x1FFF);
#endif
id_coerce = rb_intern("coerce");
id_div = rb_intern("div");