summaryrefslogtreecommitdiff
path: root/debian/patches/003-Fix-machine.h.diff
diff options
context:
space:
mode:
authorAndrew Shadura <andrew@shadura.me>2014-06-17 21:50:26 +0200
committerAndrew Shadura <andrew@shadura.me>2014-06-17 21:50:26 +0200
commitc0ae320a4512f4237a3685c49c94494d99e59dad (patch)
treebfe6c0125ac07c36ba092f9c6aac616b0a2b428d /debian/patches/003-Fix-machine.h.diff
parent26b5fed5b438e85c03e3ca4be6b0222b703926b1 (diff)
Refresh patches.
Diffstat (limited to 'debian/patches/003-Fix-machine.h.diff')
-rw-r--r--debian/patches/003-Fix-machine.h.diff24
1 files changed, 12 insertions, 12 deletions
diff --git a/debian/patches/003-Fix-machine.h.diff b/debian/patches/003-Fix-machine.h.diff
index a9f8773..1a7d42b 100644
--- a/debian/patches/003-Fix-machine.h.diff
+++ b/debian/patches/003-Fix-machine.h.diff
@@ -1,18 +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
+@@ -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
+ # define MOWGLI_OS_LINUX
+ # define MOWGLI_OS linux
+ # define MOWGLI_OS_THREADS_POSIX