mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4b0276d818
commit
b7e6fc019c
4 changed files with 13 additions and 5 deletions
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue