aboutsummaryrefslogtreecommitdiffstats
path: root/ext/strscan/strscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/strscan/strscan.c')
-rw-r--r--ext/strscan/strscan.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/strscan/strscan.c b/ext/strscan/strscan.c
index 68471ed461..b60cdb852f 100644
--- a/ext/strscan/strscan.c
+++ b/ext/strscan/strscan.c
@@ -15,12 +15,6 @@
#include "ruby.h"
#include "re.h"
-#include "version.h"
-
-#if (RUBY_VERSION_CODE < 150)
-# define rb_eRangeError rb_eArgError
-# define rb_obj_freeze(obj) rb_str_freeze(obj)
-#endif
#define STRSCAN_VERSION "0.7.0"