mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue