toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / libiio / 0001-lock.c-Don-t-include-pthread.h-if-NO_THREADS-is-defi.patch
blobfd029ccc6ac38fee5121c148b0a188b81e7a128c
1 From d052d263600549979a6219a59e85af80eeafc6d2 Mon Sep 17 00:00:00 2001
2 From: Paul Cercueil <paul.cercueil@analog.com>
3 Date: Tue, 5 Jul 2016 12:12:41 +0200
4 Subject: [PATCH] lock.c: Don't include <pthread.h> if NO_THREADS is defined
6 Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
7 ---
8 lock.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 diff --git a/lock.c b/lock.c
12 index 39248ab..00eb9d9 100644
13 --- a/lock.c
14 +++ b/lock.c
15 @@ -18,7 +18,7 @@
17 #ifdef _WIN32
18 #include <windows.h>
19 -#else
20 +#elif !defined(NO_THREADS)
21 #include <pthread.h>
22 #endif
24 --
25 2.8.1