aboutsummaryrefslogtreecommitdiff
path: root/devel/upnp/files/patch-threadutil__inc__ithread.h
blob: dbaffe204158d0c8d10799128c4edef454a6c8d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- threadutil/inc/ithread.h.orig	2013-11-14 17:14:44 UTC
+++ threadutil/inc/ithread.h
@@ -50,12 +50,9 @@ extern "C" {
 
 #include <pthread.h>
 
-#if defined(BSD) && !defined(__GNU__)
-	#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
-#endif
 
 
-#if defined(PTHREAD_MUTEX_RECURSIVE) || defined(__DragonFly__)
+#if defined(PTHREAD_MUTEX_RECURSIVE) || defined(__DragonFly__) || defined(__FreeBSD__)
 	/* This system has SuS2-compliant mutex attributes.
 	 * E.g. on Cygwin, where we don't have the old nonportable (NP) symbols
 	 */