From 42826ccf1d58b337ad9c0c5fdc45eea29e07c8f3 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 12 Dec 2008 01:20:57 +0000 Subject: * 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 --- rational.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'rational.c') 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 -- cgit