diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-12 01:20:57 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-12 01:20:57 +0000 |
commit | 42826ccf1d58b337ad9c0c5fdc45eea29e07c8f3 (patch) | |
tree | 9d79e26d6d0ae2f60008c374133b25ef516278fd | |
parent | caa60c3be0d9a7c169b8d9fc57c253d6a0ddd2f6 (diff) | |
download | ruby-42826ccf1d58b337ad9c0c5fdc45eea29e07c8f3.tar.gz ruby-42826ccf1d58b337ad9c0c5fdc45eea29e07c8f3.tar.xz ruby-42826ccf1d58b337ad9c0c5fdc45eea29e07c8f3.zip |
* complex.c, rational.c: do not use RUBY_VERSION_CODE.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | complex.c | 4 | ||||
-rw-r--r-- | rational.c | 4 |
3 files changed, 6 insertions, 6 deletions
@@ -1,3 +1,7 @@ +Fri Dec 12 10:20:55 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * complex.c, rational.c: do not use RUBY_VERSION_CODE. + Fri Dec 12 10:19:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * string.c (rb_string_value_ptr, rb_to_id): do not use a side @@ -320,9 +320,7 @@ f_complex_new_bang2(VALUE klass, VALUE x, VALUE y) return nucomp_s_new_internal(klass, x, y); } -#ifndef RUBY_VERSION_CODE -#include "version.h" -#endif +#define RUBY_VERSION_CODE 0 #if RUBY_VERSION_CODE < 200 #define CANON diff --git a/rational.c b/rational.c index 82628594d..ac28822bd 100644 --- a/rational.c +++ b/rational.c @@ -377,9 +377,7 @@ f_rational_new_bang2(VALUE klass, VALUE x, VALUE y) return nurat_s_new_internal(klass, x, y); } -#ifndef RUBY_VERSION_CODE -#include "version.h" -#endif +#define RUBY_VERSION_CODE 0 #if RUBY_VERSION_CODE < 200 #define CANON |