summaryrefslogtreecommitdiff
path: root/complex.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-12 01:20:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-12 01:20:57 +0000
commit8e3bf17b03f823872e03c4af617c47390411f3b6 (patch)
tree9d79e26d6d0ae2f60008c374133b25ef516278fd /complex.c
parent1a5acb464ddf6b2f262a2f9d7f9b69d30e149ec9 (diff)
* complex.c, rational.c: do not use RUBY_VERSION_CODE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'complex.c')
-rw-r--r--complex.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/complex.c b/complex.c
index 6dc09526d5..a7c01da670 100644
--- a/complex.c
+++ b/complex.c
@@ -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