aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/OpSys.h
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/minecraft/OpSys.h')
-rw-r--r--launcher/minecraft/OpSys.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/launcher/minecraft/OpSys.h b/launcher/minecraft/OpSys.h
index 63c750b1..c6ed5222 100644
--- a/launcher/minecraft/OpSys.h
+++ b/launcher/minecraft/OpSys.h
@@ -18,6 +18,7 @@
enum OpSys
{
Os_Windows,
+ Os_FreeBSD,
Os_Linux,
Os_OSX,
Os_Other
@@ -28,10 +29,10 @@ QString OpSys_toString(OpSys);
#ifdef Q_OS_WIN32
#define currentSystem Os_Windows
-#else
-#ifdef Q_OS_MAC
+#elif Q_OS_MAC
#define currentSystem Os_OSX
+#elif defined Q_OS_FREEBSD
+#define currentSystem Os_FreeBSD
#else
#define currentSystem Os_Linux
-#endif
#endif \ No newline at end of file