mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
drop FreeBSD < 4 support
* NEWS: drop FreeBSD < 4 support. The most recent version affected by this is 3.5 and was released in 2000. https://www.freebsd.org/releases/3.5R/announce.html https://en.wikipedia.org/wiki/History_of_FreeBSD#Version_history git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8cd05857c6
commit
da696ae794
3 changed files with 11 additions and 8 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
Fri May 13 08:46:42 2016 cremno <cremno@mail.ru>
|
||||||
|
|
||||||
|
* NEWS: drop FreeBSD < 4 support.
|
||||||
|
The most recent version affected by this is 3.5 and was released
|
||||||
|
in 2000.
|
||||||
|
https://www.freebsd.org/releases/3.5R/announce.html
|
||||||
|
https://en.wikipedia.org/wiki/History_of_FreeBSD#Version_history
|
||||||
|
|
||||||
Fri May 13 03:12:09 2016 NARUSE, Yui <naruse@ruby-lang.org>
|
Fri May 13 03:12:09 2016 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* include/ruby/defines.h (GCC_VERSION_SINCE): moved from internal.h.
|
* include/ruby/defines.h (GCC_VERSION_SINCE): moved from internal.h.
|
||||||
|
|
2
NEWS
2
NEWS
|
@ -108,6 +108,8 @@ with all sufficient information, see the ChangeLog file or Redmine
|
||||||
|
|
||||||
=== Supported platform changes
|
=== Supported platform changes
|
||||||
|
|
||||||
|
* FreeBSD < 4 is no longer supported
|
||||||
|
|
||||||
=== Implementation improvements
|
=== Implementation improvements
|
||||||
|
|
||||||
* In some condition, `[x, y].max` and `[x, y].min` are optimized
|
* In some condition, `[x, y].max` and `[x, y].min` are optimized
|
||||||
|
|
|
@ -16,10 +16,6 @@
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#if defined(__FreeBSD__) && __FreeBSD__ < 4
|
|
||||||
#include <floatingpoint.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_FLOAT_H
|
#ifdef HAVE_FLOAT_H
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -4871,10 +4867,7 @@ Init_Numeric(void)
|
||||||
#undef rb_intern
|
#undef rb_intern
|
||||||
#define rb_intern(str) rb_intern_const(str)
|
#define rb_intern(str) rb_intern_const(str)
|
||||||
|
|
||||||
#if defined(__FreeBSD__) && __FreeBSD__ < 4
|
#ifdef _UNICOSMP
|
||||||
/* allow divide by zero -- Inf */
|
|
||||||
fpsetmask(fpgetmask() & ~(FP_X_DZ|FP_X_INV|FP_X_OFL));
|
|
||||||
#elif defined(_UNICOSMP)
|
|
||||||
/* Turn off floating point exceptions for divide by zero, etc. */
|
/* Turn off floating point exceptions for divide by zero, etc. */
|
||||||
_set_Creg(0, 0);
|
_set_Creg(0, 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue