blob: 2a0818fafd4955d07403cfc6d0fbb65a69317a0f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- api/logic/minecraft/OpSys.h.orig 2017-12-18 00:19:43 UTC
+++ api/logic/minecraft/OpSys.h
@@ -20,6 +20,7 @@ enum OpSys
Os_Windows,
Os_Linux,
Os_OSX,
+ Os_FreeBSD,
Os_Other
};
@@ -28,10 +29,10 @@ QString OpSys_toString(OpSys);
#ifdef Q_OS_WIN32
#define currentSystem Os_Windows
-#else
-#ifdef Q_OS_MAC
+#elif defined 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
|