diff options
Diffstat (limited to 'logic/java/JavaUtils.h')
-rw-r--r-- | logic/java/JavaUtils.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/logic/java/JavaUtils.h b/logic/java/JavaUtils.h index d4dd2409..78693b37 100644 --- a/logic/java/JavaUtils.h +++ b/logic/java/JavaUtils.h @@ -18,12 +18,11 @@ #include <QStringList> #include <QWidget> -#include <osutils.h> #include "JavaCheckerJob.h" #include "JavaChecker.h" #include "JavaVersionList.h" -#if WINDOWS +#ifdef Q_OS_WIN #include <windows.h> #endif @@ -39,7 +38,7 @@ public: QList<QString> FindJavaPaths(); JavaVersionPtr GetDefaultJava(); -#if WINDOWS +#ifdef Q_OS_WIN QList<JavaVersionPtr> FindJavaFromRegistryKey(DWORD keyType, QString keyName); #endif }; |