diff options
Diffstat (limited to 'net/libupnp/patches/patch-aa')
-rw-r--r-- | net/libupnp/patches/patch-aa | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/net/libupnp/patches/patch-aa b/net/libupnp/patches/patch-aa index d40dd7ca25f..4b7678ac326 100644 --- a/net/libupnp/patches/patch-aa +++ b/net/libupnp/patches/patch-aa @@ -1,17 +1,17 @@ -$NetBSD: patch-aa,v 1.4 2007/08/19 01:36:22 obache Exp $ +$NetBSD: patch-aa,v 1.5 2007/11/08 03:56:58 obache Exp $ ---- threadutil/src/ThreadPool.c.orig 2007-06-10 03:48:25.000000000 +0000 +--- threadutil/src/ThreadPool.c.orig 2007-11-05 13:38:41.000000000 +0000 +++ threadutil/src/ThreadPool.c -@@ -96,7 +96,7 @@ SetPolicyType( PolicyType in ) - #else - #ifdef WIN32 +@@ -98,7 +98,7 @@ SetPolicyType( PolicyType in ) + return 0; + #elif defined(WIN32) return sched_setscheduler( 0, in); -- #elif defined(_POSIX_PRIORITY_SCHEDULING) && _POSIX_PRIORITY_SCHEDULING > 0 -+ #elif defined(_POSIX_PRIORITY_SCHEDULING) && _POSIX_PRIORITY_SCHEDULING >= 200112L +-#elif defined(_POSIX_PRIORITY_SCHEDULING) && _POSIX_PRIORITY_SCHEDULING > 0 ++#elif defined(_POSIX_PRIORITY_SCHEDULING) && _POSIX_PRIORITY_SCHEDULING >= 200112L struct sched_param current; sched_getparam( 0, ¤t ); -@@ -125,7 +125,7 @@ SetPolicyType( PolicyType in ) +@@ -126,7 +126,7 @@ SetPolicyType( PolicyType in ) static int SetPriority( ThreadPriority priority ) { |