Build fixes for mingw (#245)

This commit is contained in:
Anonymous Maarten
2023-10-25 01:24:29 +02:00
committed by GitHub
parent 4c5c709af6
commit e928fc9425
25 changed files with 64 additions and 42 deletions

View File

@@ -19,11 +19,10 @@ MxCore *LegoObjectFactory::Create(const char *p_name)
{
MxAtomId atom(p_name, LookupMode_Exact);
if (0) {
#define X(V) } else if (this->m_id##V == atom) { return new V;
#define X(V) if (this->m_id##V == atom) { return new V; } else
FOR_LEGOOBJECTFACTORY_OBJECTS(X)
#undef X
} else {
{
return MxObjectFactory::Create(p_name);
}
}