summaryrefslogtreecommitdiff
path: root/ext/extmk.rb.in
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-05-24 06:10:36 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-05-24 06:10:36 +0000
commit0fb0d42369a02071e2dec4fb3cfd137262b192f1 (patch)
tree1a4852fe4c65ce74774f1e9587fc8010437b1e2d /ext/extmk.rb.in
parent2287c526be0074e3d6e8e2b2927247866c237bd0 (diff)
* eval.c (rb_yield_0): need argument adjustment for C defined
blocks too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb.in')
-rw-r--r--ext/extmk.rb.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in
index 9e454cc..d57ff2f 100644
--- a/ext/extmk.rb.in
+++ b/ext/extmk.rb.in
@@ -280,8 +280,7 @@ def have_header(header)
SRC
return false
end
- header.tr!("a-z./\055", "A-Z___")
- $defs.push(format("-DHAVE_%s", header))
+ $defs.push(format("-DHAVE_%s", header.tr("a-z./\055", "A-Z___")))
return true
end