summaryrefslogtreecommitdiff
path: root/debian/patches/003-Fix-machine.h.diff
blob: a9f8773c3ddbda5338d92c57fe7df5061341f2bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/src/libmowgli/platform/machine.h
+++ b/src/libmowgli/platform/machine.h
@@ -180,13 +180,13 @@
 #if defined _LP64 || defined __LP64
 #define MOWGLI_CPU_BITS 64
 #define MOWGLI_CPU_BITS_64
-#elif
+#else
 #define MOWGLI_CPU_BITS 32
 #define MOWGLI_CPU_BITS_32
 #endif
 #endif
 
-#if defined __linux || defined __linux__
+#if defined __linux || defined __linux__ || defined __FreeBSD_kernel__
 #define MOWGLI_OS_LINUX
 #define MOWGLI_OS linux
 #define MOWGLI_OS_THREADS_POSIX