mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-26 18:14:22 +00:00
Fixes compilation error expanding from macro 'major'.
This commit is contained in:
parent
7179e75e70
commit
fce98f5e16
@ -5,6 +5,13 @@
|
|||||||
#include <minecraft/PackProfile.h>
|
#include <minecraft/PackProfile.h>
|
||||||
#include <minecraft/VersionFilterData.h>
|
#include <minecraft/VersionFilterData.h>
|
||||||
|
|
||||||
|
#ifdef major
|
||||||
|
#undef major
|
||||||
|
#endif
|
||||||
|
#ifdef minor
|
||||||
|
#undef minor
|
||||||
|
#endif
|
||||||
|
|
||||||
void VerifyJavaInstall::executeTask() {
|
void VerifyJavaInstall::executeTask() {
|
||||||
auto m_inst = std::dynamic_pointer_cast<MinecraftInstance>(m_parent->instance());
|
auto m_inst = std::dynamic_pointer_cast<MinecraftInstance>(m_parent->instance());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user