mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Expand schema_plugin with schema name to eliminate symbol collisions
This commit is contained in:
@@ -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 <boost/dll/alias.hpp>
|
||||
|
||||
namespace ifcopenshell {
|
||||
|
||||
Reference in New Issue
Block a user