summaryrefslogtreecommitdiff
path: root/debian/patches/003-Fix-machine.h.diff
blob: 1a7d42b65f0c14fb444f361e37690a6c674afefc (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
@@ -186,13 +186,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