From 7362dbf90c1e47d1dfa18cd59c8ab4f23a663fc6 Mon Sep 17 00:00:00 2001 From: "Chao Li (Evan)" Date: Mon, 23 Nov 2026 16:10:36 +0800 Subject: [PATCH v1] simplehash: Undefine SH_RAW_ALLOCATOR after inclusion simplehash.h undefines its configuration macros after inclusion, allowing multiple hash tables to be defined independently. However, SH_RAW_ALLOCATOR was missing from the cleanup list. Add the missing #undef to prevent subsequent inclusions from unintentionally inheriting the previous allocator. Author: Chao Li --- src/include/lib/simplehash.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/lib/simplehash.h b/src/include/lib/simplehash.h index 98572f12162..03df9acb3e0 100644 --- a/src/include/lib/simplehash.h +++ b/src/include/lib/simplehash.h @@ -1206,6 +1206,7 @@ SH_STAT(SH_TYPE * tb) #undef SH_STORE_HASH #undef SH_USE_NONDEFAULT_ALLOCATOR #undef SH_EQUAL +#undef SH_RAW_ALLOCATOR /* undefine locally declared macros */ #undef SH_MAKE_PREFIX -- 2.50.1 (Apple Git-155)