diff options
Diffstat (limited to 'launcher/minecraft/launch/ExtractNatives.cpp')
| -rw-r--r-- | launcher/minecraft/launch/ExtractNatives.cpp | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/launcher/minecraft/launch/ExtractNatives.cpp b/launcher/minecraft/launch/ExtractNatives.cpp index d57499aa..8cd439b1 100644 --- a/launcher/minecraft/launch/ExtractNatives.cpp +++ b/launcher/minecraft/launch/ExtractNatives.cpp @@ -23,6 +23,13 @@  #include "FileSystem.h"  #include <QDir> +#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)) | 
