diff options
author | Petr Mrázek <peterix@gmail.com> | 2018-06-28 23:42:44 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-06-28 23:42:44 +0200 |
commit | bb599abf59a937e76b650825ba145687914a9ce8 (patch) | |
tree | e2b63569b1b151924dc18155a464a7257723fdf2 /api | |
parent | 07f7ec8eefdcc27575a05319ef35662ac5b6993f (diff) | |
download | MultiMC-bb599abf59a937e76b650825ba145687914a9ce8.tar MultiMC-bb599abf59a937e76b650825ba145687914a9ce8.tar.gz MultiMC-bb599abf59a937e76b650825ba145687914a9ce8.tar.lz MultiMC-bb599abf59a937e76b650825ba145687914a9ce8.tar.xz MultiMC-bb599abf59a937e76b650825ba145687914a9ce8.zip |
NOISSUE fix a bug with mutexes on Windows, more warnings
Diffstat (limited to 'api')
-rw-r--r-- | api/logic/java/JavaUtils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/logic/java/JavaUtils.cpp b/api/logic/java/JavaUtils.cpp index 4a77bc7e..798c80e8 100644 --- a/api/logic/java/JavaUtils.cpp +++ b/api/logic/java/JavaUtils.cpp @@ -31,6 +31,7 @@ JavaUtils::JavaUtils() { } +#ifdef Q_OS_LINUX static QString processLD_LIBRARY_PATH(const QString & LD_LIBRARY_PATH) { QDir mmcBin(QCoreApplication::applicationDirPath()); @@ -48,6 +49,7 @@ static QString processLD_LIBRARY_PATH(const QString & LD_LIBRARY_PATH) } return final.join(':'); } +#endif QProcessEnvironment CleanEnviroment() { |