summaryrefslogtreecommitdiff
path: root/net/libupnp/patches/patch-ah
blob: a8c95fd80239e85f1d11a7bfc9d94ce8ecb874a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ah,v 1.1 2007/06/12 21:59:32 joerg Exp $

--- threadutil/inc/ithread.h.orig	2007-06-12 21:46:07.000000000 +0000
+++ threadutil/inc/ithread.h
@@ -51,7 +51,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
  */