aboutsummaryrefslogtreecommitdiffstats
path: root/rational.c
diff options
context:
space:
mode:
Diffstat (limited to 'rational.c')
-rw-r--r--rational.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/rational.c b/rational.c
index 82628594d3..ac28822bdd 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