зеркало из https://github.com/github/ruby.git
* 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:
Родитель
55ddfceed3
Коммит
f0bd1c2174
|
@ -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>
|
Mon Jun 6 10:54:45 2011 Shota Fukumori <sorah@tubusu.net>
|
||||||
|
|
||||||
* lib/test/unit.rb(Test::Unit::Runner#puke):
|
* lib/test/unit.rb(Test::Unit::Runner#puke):
|
||||||
|
|
|
@ -137,7 +137,7 @@ void xfree(void*);
|
||||||
# define HAVE_INFINITY
|
# define HAVE_INFINITY
|
||||||
#else
|
#else
|
||||||
/** @internal */
|
/** @internal */
|
||||||
extern const unsigned char rb_infinity[];
|
RUBY_EXTERN const unsigned char rb_infinity[];
|
||||||
# define INFINITY (*(float *)rb_infinity)
|
# define INFINITY (*(float *)rb_infinity)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -145,7 +145,7 @@ extern const unsigned char rb_infinity[];
|
||||||
# define HAVE_NAN
|
# define HAVE_NAN
|
||||||
#else
|
#else
|
||||||
/** @internal */
|
/** @internal */
|
||||||
extern const unsigned char rb_nan[];
|
RUBY_EXTERN const unsigned char rb_nan[];
|
||||||
# define NAN (*(float *)rb_nan)
|
# define NAN (*(float *)rb_nan)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче