summaryrefslogtreecommitdiff
path: root/template/id.h.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/id.h.tmpl')
-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