summaryrefslogtreecommitdiff
path: root/debian/patches/003-Fix-machine.h.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/003-Fix-machine.h.diff')
-rw-r--r--debian/patches/003-Fix-machine.h.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/003-Fix-machine.h.diff b/debian/patches/003-Fix-machine.h.diff
new file mode 100644
index 0000000..a9f8773
--- /dev/null
+++ b/debian/patches/003-Fix-machine.h.diff
@@ -0,0 +1,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