mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Build fixes for mingw (#245)
This commit is contained in:

committed by
GitHub

parent
4c5c709af6
commit
e928fc9425
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user