summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-08-26 04:20:03 +0200
committerPetr Mrázek <peterix@gmail.com>2013-08-26 04:20:03 +0200
commit767c3db29747d58bfe2881fae9a6b1aa8e05d301 (patch)
tree998d6c1749e3df6cba6e4629cc27bc396164f317
parentef3ff88510404c15d2bff3b872af706192954f75 (diff)
downloadMultiMC-767c3db29747d58bfe2881fae9a6b1aa8e05d301.tar
MultiMC-767c3db29747d58bfe2881fae9a6b1aa8e05d301.tar.gz
MultiMC-767c3db29747d58bfe2881fae9a6b1aa8e05d301.tar.lz
MultiMC-767c3db29747d58bfe2881fae9a6b1aa8e05d301.tar.xz
MultiMC-767c3db29747d58bfe2881fae9a6b1aa8e05d301.zip
Nuking preprocessor poop...
-rw-r--r--logic/OneSixVersion.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/logic/OneSixVersion.h b/logic/OneSixVersion.h
index e4f75542..46055304 100644
--- a/logic/OneSixVersion.h
+++ b/logic/OneSixVersion.h
@@ -15,12 +15,13 @@ OpSys OpSys_fromString(QString);
#ifdef Q_OS_WIN32
#define currentSystem Os_Windows
-#elif Q_OS_MAC
- #define currentSystem Os_OSX
#else
- #define currentSystem Os_Linux
+ #ifdef Q_OS_MAC
+ #define currentSystem Os_OSX
+ #else
+ #define currentSystem Os_Linux
+ #endif
#endif
-
enum RuleAction
{
Allow,