summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-04 09:24:00 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-04 09:24:00 +0000
commit1677425e9dc9a0ae872a776803b93788b12715ba (patch)
tree0840b71184f205b129416e3b02093525cc74af75 /include/ruby
parent506cdbf64a7883b769725c20ced87c38d254f5b0 (diff)
* re.c (rb_memcmp): no longer useful without ruby_ignorecase.
* re.c (rb_reg_prepare_re): revert recompile condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/intern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h
index 500ec6a358..2684076a12 100644
--- a/include/ruby/intern.h
+++ b/include/ruby/intern.h
@@ -442,7 +442,7 @@ VALUE rb_range_beg_len(VALUE, long*, long*, long, int);
unsigned long genrand_int32(void);
double genrand_real(void);
/* re.c */
-int rb_memcmp(const void*,const void*,long);
+#define rb_memcmp(a,b,c) memcmp(a,b,c)
int rb_memcicmp(const void*,const void*,long);
long rb_memsearch(const void*,long,const void*,long);
VALUE rb_reg_nth_defined(int, VALUE);