diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-06 05:27:37 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-06 05:27:37 +0000 |
| commit | db26770d6ba4a3d3f92e2525daad220bf364c73d (patch) | |
| tree | 6ae5f5ef47c1537316624a8c7e1a49198dd9397b /ext/strscan | |
| parent | ff679e401729b603df31a62aa7cef3ea3a8eec9c (diff) | |
| download | ruby-db26770d6ba4a3d3f92e2525daad220bf364c73d.tar.gz ruby-db26770d6ba4a3d3f92e2525daad220bf364c73d.tar.xz ruby-db26770d6ba4a3d3f92e2525daad220bf364c73d.zip | |
* ext/strscan/depend: depends on re.h and regex.h.
* ext/strscan/strscan.c: no version check needed.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/strscan')
| -rw-r--r-- | ext/strscan/depend | 3 | ||||
| -rw-r--r-- | ext/strscan/strscan.c | 6 |
2 files changed, 2 insertions, 7 deletions
diff --git a/ext/strscan/depend b/ext/strscan/depend index 9199574c3..eba3c3a0d 100644 --- a/ext/strscan/depend +++ b/ext/strscan/depend @@ -1 +1,2 @@ -strscan.o: strscan.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h +strscan.o: strscan.c $(hdrdir)/ruby.h $(hdrdir)/re.h $(hdrdir)/regex.h \ + $(topdir)/config.h $(hdrdir)/defines.h diff --git a/ext/strscan/strscan.c b/ext/strscan/strscan.c index 68471ed46..b60cdb852 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" |
