[Pkg-mono-svn-commits] [mono] 01/02: mono-threads-linux.c also applies to other OSes with GNU userland
Jo Shields
directhex at moszumanska.debian.org
Mon Jul 27 10:43:38 UTC 2015
This is an automated email from the git hooks/post-receive script.
directhex pushed a commit to branch master-experimental
in repository mono.
commit f38375ed29d1a44e83e4946a26797f3f342a3a11
Author: Jo Shields <jo.shields at xamarin.com>
Date: Mon Jul 27 09:20:47 2015 +0100
mono-threads-linux.c also applies to other OSes with GNU userland
Fixes a build failure for GNU/kFreeBSD (which doesn't use mono-threads-freebsd.c, since GNU/kFreeBSD doesn't have pthread_np.h)
---
mono/utils/mono-threads-linux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mono/utils/mono-threads-linux.c b/mono/utils/mono-threads-linux.c
index e2ee61c..c5d6e8b 100644
--- a/mono/utils/mono-threads-linux.c
+++ b/mono/utils/mono-threads-linux.c
@@ -1,6 +1,6 @@
#include <config.h>
-#if defined(__linux__) && !defined(PLATFORM_ANDROID)
+#if (defined(__linux__) && !defined(PLATFORM_ANDROID)) || defined(__FreeBSD_kernel__)
#include <mono/utils/mono-threads.h>
#include <pthread.h>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mono/packages/mono.git
More information about the Pkg-mono-svn-commits
mailing list