summaryrefslogtreecommitdiffstats
path: root/backend/OneSixVersion.h
diff options
context:
space:
mode:
Diffstat (limited to 'backend/OneSixVersion.h')
-rw-r--r--backend/OneSixVersion.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/backend/OneSixVersion.h b/backend/OneSixVersion.h
index 160d0426..1f8090ab 100644
--- a/backend/OneSixVersion.h
+++ b/backend/OneSixVersion.h
@@ -13,23 +13,14 @@ enum OpSys
OpSys OpSys_fromString(QString);
-#ifdef Q_OS_MAC
- #define currentSystem Os_OSX
-#endif
-
-#ifdef Q_OS_LINUX
- #define currentSystem Os_Linux
-#endif
-
#ifdef Q_OS_WIN32
#define currentSystem Os_Windows
+#elif Q_OS_MAC
+ #define currentSystem Os_OSX
+#else
+ #define currentSystem Os_Linux
#endif
-#ifndef currentSystem
- #define currentSystem Os_Other
-#endif
-
-
enum RuleAction
{
Allow,