1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* include/ruby/defines.h (rb_inifinity, rb_nan): export for Windows.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2011-06-06 05:09:58 +00:00
parent 55ddfceed3
commit f0bd1c2174
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Mon Jun 6 14:09:08 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* include/ruby/defines.h (rb_inifinity, rb_nan): export for Windows.
Mon Jun 6 10:54:45 2011 Shota Fukumori <sorah@tubusu.net>
* lib/test/unit.rb(Test::Unit::Runner#puke):

View file

@ -137,7 +137,7 @@ void xfree(void*);
# define HAVE_INFINITY
#else
/** @internal */
extern const unsigned char rb_infinity[];
RUBY_EXTERN const unsigned char rb_infinity[];
# define INFINITY (*(float *)rb_infinity)
#endif
@ -145,7 +145,7 @@ extern const unsigned char rb_infinity[];
# define HAVE_NAN
#else
/** @internal */
extern const unsigned char rb_nan[];
RUBY_EXTERN const unsigned char rb_nan[];
# define NAN (*(float *)rb_nan)
#endif