summaryrefslogtreecommitdiff
path: root/net/libupnp/patches/patch-ah
blob: 500aa069e46959b93942f304372d0e6bbc053a58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ah,v 1.3 2007/11/08 03:56:58 obache Exp $

--- threadutil/inc/ithread.h.orig	2007-11-06 01:46:41.000000000 +0000
+++ threadutil/inc/ithread.h
@@ -45,7 +45,7 @@ extern "C" {
 	#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
 #endif
 
-#ifdef PTHREAD_MUTEX_RECURSIVE
+#if defined(PTHREAD_MUTEX_RECURSIVE) || defined(__DragonFly__)
 	/* This system has SuS2-compliant mutex attributes.
 	 * E.g. on Cygwin, where we don't have the old nonportable (NP) symbols
 	 */