summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-09-03 21:08:07 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-09-03 21:12:31 +0900
commitbeaabd23087a54364bc8fc8aa7a45dd9f425e19b (patch)
treecb81c98448d5f48e1b2cd1dbb5ea09c9b0ea55dc /eval.c
parent7cb19b3f5bf0a5dcee0e8444b920e01e7d4e7fae (diff)
Unify SUPPORT_JOKE and OPT_SUPPORT_JOKE
for simplicity and consistency. Now SUPPORT_JOKE needs to be prefixed with OPT_ to make the config visible in `RubyVM::VmOptsH`, and the inconsistency was introduced. As it has never been available for override in configure (no #ifndef guard), it should be fine to rename the config.
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 614bb04..30d4ea5 100644
--- a/eval.c
+++ b/eval.c
@@ -478,7 +478,7 @@ static VALUE get_ec_errinfo(const rb_execution_context_t *ec);
static VALUE
exc_setup_cause(VALUE exc, VALUE cause)
{
-#if SUPPORT_JOKE
+#if OPT_SUPPORT_JOKE
if (NIL_P(cause)) {
ID id_true_cause;
CONST_ID(id_true_cause, "true_cause");