Skip to content

Commit

Permalink
windows: undef rapidjson namespace issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vgmoose committed Dec 6, 2023
1 parent f3b1477 commit 2503c42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/OSCRepo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ extern "C" char* strptime(const char* s,
}
return (char*)(s + input.tellg());
}

// needed for windows.h conflict with rapidjson namespace:
// https:/Tencent/rapidjson/issues/1448
#undef GetObject
#endif

std::vector<std::unique_ptr<Package>> OSCRepo::loadPackages()
Expand Down

0 comments on commit 2503c42

Please sign in to comment.