summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-10 11:05:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-10 11:05:52 +0000
commita18a4811a0713b0a2a9eadc7d7a74ca31e0d8da0 (patch)
tree2d5cea2e031e4d867704db78f914515c77b0add7 /template
parent1a4bf59430667c73e3b0330882ee17a28cc943c4 (diff)
* template/id.h.tmpl (ruby_method_ids): suppress warnings.
[ruby-dev:42730] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-rw-r--r--template/id.h.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/id.h.tmpl b/template/id.h.tmpl
index b91292a103..0a4693ec4c 100644
--- a/template/id.h.tmpl
+++ b/template/id.h.tmpl
@@ -101,13 +101,13 @@ enum ruby_method_ids {
t__send__,
tInitialize,
tUScore,
-#if SUPPORT_JOKE
+#if defined SUPPORT_JOKE && SUPPORT_JOKE
tBitblt,
tAnswer,
#endif
tLAST_ID,
#define TOKEN2ID(n) id##n = ((t##n<<ID_SCOPE_SHIFT)|ID_LOCAL)
-#if SUPPORT_JOKE
+#if defined SUPPORT_JOKE && SUPPORT_JOKE
TOKEN2ID(Bitblt),
TOKEN2ID(Answer),
#endif