Fix ugoira build on Windows

This commit is contained in:
2024-09-22 04:22:55 +00:00
committed by GitHub
parent 8b91bbd747
commit 08bca6d766

View File

@@ -267,6 +267,9 @@ int main(int argc, char* argv[]) {
UgoiraFrame* top = nullptr, *tail = nullptr;
auto arr = d.GetArray();
for (auto i = arr.Begin(); i != arr.End(); i++) {
#ifdef GetObject
#undef GetObject
#endif
auto obj = i->GetObject();
auto file = obj["file"].GetString();
auto delay = obj["delay"].GetFloat();