diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-04-20 14:35:41 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-04-20 14:35:41 +0000 |
commit | e4d374cf50faecafad3ef1a4e2c8896b030e50ef (patch) | |
tree | 445a48273d5deb241b6a0d962080f082f4c5bd66 /win32/win32.c | |
parent | 8649458a2bcd0d15172f5c0c4faf741bf9ac2782 (diff) | |
download | ruby-e4d374cf50faecafad3ef1a4e2c8896b030e50ef.tar.gz ruby-e4d374cf50faecafad3ef1a4e2c8896b030e50ef.tar.xz ruby-e4d374cf50faecafad3ef1a4e2c8896b030e50ef.zip |
* win32/win32.c (NtInitialize): set the floating-point control word
on bcc32.
* win32/win32.h, bcc32/Makefile.sub: use missing/isinf.c, should not
use _finite() because it returns 0 if NaN.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c index ab9a438ca..c0aff2561 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 // |