--- launcher/minecraft/launch/ExtractNatives.cpp.orig 2021-09-08 22:27:46 UTC +++ launcher/minecraft/launch/ExtractNatives.cpp @@ -23,6 +23,14 @@ #include "FileSystem.h" #include +//C library defines interfere with Java version check +#ifdef major + #undef major +#endif +#ifdef minor + #undef minor +#endif + static QString replaceSuffix (QString target, const QString &suffix, const QString &replacement) { if (!target.endsWith(suffix))