From 899648e6a7d16880c8f9a92df64054656129e638 Mon Sep 17 00:00:00 2001
From: Kimplul <kimi.h.kuparinen@gmail.com>
Date: Sat, 11 Jan 2025 00:55:32 +0200
Subject: undef some macros at end of file

---
 include/conts/map.h    | 3 +++
 include/conts/sptree.h | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/include/conts/map.h b/include/conts/map.h
index d24ab06..f7b9bfd 100644
--- a/include/conts/map.h
+++ b/include/conts/map.h
@@ -98,6 +98,9 @@ static inline size_t MAP(len)(struct MAP_ROOT *root)
 	return BASE(len)(&root->root);
 }
 
+#undef MAP
+#undef MAP_NODE
+#undef MAP_ROOT
 #undef MAP_KEY
 #undef MAP_TYPE
 #undef MAP_CMP
diff --git a/include/conts/sptree.h b/include/conts/sptree.h
index e305c0f..27dc2f7 100644
--- a/include/conts/sptree.h
+++ b/include/conts/sptree.h
@@ -417,3 +417,6 @@ static inline void SPTREE(destroy)(struct SPROOT *s)
 #undef SPTREE
 #undef SPNODE
 #undef SPROOT
+#undef SPTREE_TYPE
+#undef SPTREE_NAME
+#undef SPTREE_CMP
-- 
cgit v1.2.3