Switching around entry point to stop VC2015 compiler crashes >_>
This commit is contained in:
parent
85a6552f8e
commit
53eaeff690
|
@ -29,8 +29,10 @@ struct EntryInfo {
|
|||
};
|
||||
EntryInfo GetEntryInfo();
|
||||
|
||||
#define DEFINE_ENTRY_POINT(name, usage, entry_point) \
|
||||
poly::EntryInfo poly::GetEntryInfo() { return {name, usage, entry_point}; }
|
||||
#define DEFINE_ENTRY_POINT(name, usage, entry_point) \
|
||||
poly::EntryInfo poly::GetEntryInfo() { \
|
||||
return poly::EntryInfo({name, usage, entry_point}); \
|
||||
}
|
||||
|
||||
} // namespace poly
|
||||
|
||||
|
|
Loading…
Reference in New Issue