From bac4d2eefa079168968841079727fe2289b6ab6e Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Wed, 15 Feb 2023 10:07:06 +0100 Subject: Check !RCLASS_EXT_EMBEDDED instead of SIZE_POOL_COUNT == 1 It's much more self documenting and consistent --- internal/class.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/class.h') diff --git a/internal/class.h b/internal/class.h index bdc3bdd236..02a2e38ffe 100644 --- a/internal/class.h +++ b/internal/class.h @@ -69,7 +69,7 @@ struct RClass { struct RBasic basic; VALUE super; struct rb_id_table *m_tbl; -#if SIZE_POOL_COUNT == 1 +#if !RCLASS_EXT_EMBEDDED struct rb_classext_struct *ptr; #endif }; -- cgit v1.2.1