ruby-changes:9116
From: nobu <ko1@a...>
Date: Fri, 12 Dec 2008 10:21:20 +0900 (JST)
Subject: [ruby-changes:9116] Ruby:r20653 (trunk): * complex.c, rational.c: do not use RUBY_VERSION_CODE.
nobu 2008-12-12 10:20:57 +0900 (Fri, 12 Dec 2008) New Revision: 20653 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20653 Log: * complex.c, rational.c: do not use RUBY_VERSION_CODE. Modified files: trunk/ChangeLog trunk/complex.c trunk/rational.c Index: complex.c =================================================================== --- complex.c (revision 20652) +++ complex.c (revision 20653) @@ -320,9 +320,7 @@ 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 Index: ChangeLog =================================================================== --- ChangeLog (revision 20652) +++ ChangeLog (revision 20653) @@ -1,3 +1,7 @@ +Fri Dec 12 10:20:55 2008 Nobuyoshi Nakada <nobu@r...> + + * complex.c, rational.c: do not use RUBY_VERSION_CODE. + Fri Dec 12 10:19:21 2008 Nobuyoshi Nakada <nobu@r...> * string.c (rb_string_value_ptr, rb_to_id): do not use a side Index: rational.c =================================================================== --- rational.c (revision 20652) +++ rational.c (revision 20653) @@ -377,9 +377,7 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/