mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-06-06 05:49:01 +08:00
Fix ugoira build on Windows
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user