diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-06 05:09:58 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-06 05:09:58 +0000 |
commit | f0bd1c21740c062a94a8cd734646a922717cdc89 (patch) | |
tree | 00ff0d831dc8c5db7d10b3d54847f31b9218df36 | |
parent | 55ddfceed3bae80f1f9f0452cbcc7565ad77f679 (diff) | |
download | ruby-f0bd1c21740c062a94a8cd734646a922717cdc89.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | include/ruby/defines.h | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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): diff --git a/include/ruby/defines.h b/include/ruby/defines.h index 02ea2e0856..c9d6db2f6b 100644 --- a/include/ruby/defines.h +++ b/include/ruby/defines.h @@ -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 |