From b1899b1a8df5d5ed08e1aed13a10ee8f5ff68913 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Thu, 7 May 2026 21:10:35 +0200 Subject: [PATCH] Expand schema_plugin with schema name to eliminate symbol collisions --- src/ifcparse/schema_plugin.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ifcparse/schema_plugin.cpp b/src/ifcparse/schema_plugin.cpp index 1c7b91f622..d37e321fca 100644 --- a/src/ifcparse/schema_plugin.cpp +++ b/src/ifcparse/schema_plugin.cpp @@ -29,6 +29,10 @@ #include INCLUDE_SCHEMA(IfcSchema) #undef INCLUDE_SCHEMA +#define CAT(a, b) a##b +#define EXPAND_AND_CAT(a, b) CAT(a, b) +#define schema_plugin EXPAND_AND_CAT(schema_plugin_, IfcSchema) + #include namespace ifcopenshell {