* 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:
eban 2003-04-20 14:35:41 +00:00
parent 4b0276d818
commit b7e6fc019c
4 changed files with 13 additions and 5 deletions

View file

@ -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
//