From beaabd23087a54364bc8fc8aa7a45dd9f425e19b Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 3 Sep 2019 21:08:07 +0900 Subject: 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. --- iseq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iseq.h') diff --git a/iseq.h b/iseq.h index 13cbd90569..711afeb0fa 100644 --- a/iseq.h +++ b/iseq.h @@ -109,7 +109,7 @@ struct iseq_compile_data { unsigned int ci_kw_index; const rb_compile_option_t *option; struct rb_id_table *ivar_cache_table; -#if SUPPORT_JOKE +#if OPT_SUPPORT_JOKE st_table *labels_table; #endif }; -- cgit v1.2.3