summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-01 01:41:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-01 01:41:43 +0000
commit4c79d4bee2beda76473144adc39777a8251051c5 (patch)
tree0a040f9c6b2f1034b16057469afa552eb80e5df3 /error.c
parent99945ed6642458660ea112409ad5c393ff0e3f6c (diff)
* include/ruby/intern.h (rb_exc_new2): optimization for literal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/error.c b/error.c
index 07a72a9a94..bfa3a950db 100644
--- a/error.c
+++ b/error.c
@@ -348,6 +348,8 @@ VALUE rb_eSystemCallError;
VALUE rb_mErrno;
static VALUE rb_eNOERROR;
+#undef rb_exc_new2
+
VALUE
rb_exc_new(VALUE etype, const char *ptr, long len)
{