From 85f697feb55bfeec55c8cad4f2696a889b653ab4 Mon Sep 17 00:00:00 2001 From: Helmut Eller Date: Tue, 30 Apr 2024 20:36:04 +0200 Subject: [PATCH] Staticpro coding_categories only if HAVE_MPS * src/coding.c (syms_of_coding): --- src/coding.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/coding.c b/src/coding.c index 80f48f675d5..05f5be81bc5 100644 --- a/src/coding.c +++ b/src/coding.c @@ -11848,6 +11848,7 @@ syms_of_coding (void) Vcoding_category_table = make_nil_vector (coding_category_max); staticpro (&Vcoding_category_table); +#ifdef HAVE_MPS for (size_t i; i < ARRAYELTS (coding_categories); i++) { struct coding_system* cs = &coding_categories[i]; @@ -11858,6 +11859,7 @@ syms_of_coding (void) *dst = Qnil; staticpro (dst); } +#endif /* Followings are target of code detection. */ ASET (Vcoding_category_table, coding_category_iso_7, intern_c_string ("coding-category-iso-7")); -- 2.39.2