mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +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)
|
#include INCLUDE_SCHEMA(IfcSchema)
|
||||||
#undef INCLUDE_SCHEMA
|
#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>
|
#include <boost/dll/alias.hpp>
|
||||||
|
|
||||||
namespace ifcopenshell {
|
namespace ifcopenshell {
|
||||||
|
|||||||
Reference in New Issue
Block a user