summaryrefslogtreecommitdiff
path: root/devel/glib2/patches/patch-aa
blob: d777bea05b2568645ed454d0191f642b8d329a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.8 2003/01/29 10:18:35 tron Exp $

--- gthread/gthread-posix.c.orig	2002-11-04 21:04:55.000000000 +0100
+++ gthread/gthread-posix.c	2003-01-28 11:05:52.000000000 +0100
@@ -97,7 +97,7 @@
 # error This should not happen. Contact the GLib team.
 #endif
 
-#if defined (POSIX_MIN_PRIORITY) && defined (POSIX_MAX_PRIORITY)
+#if defined (POSIX_MIN_PRIORITY) && defined (POSIX_MAX_PRIORITY) && defined(_POSIX_THREAD_PRIORITY_SCHEDULING)
 # define HAVE_PRIORITIES 1
 static gint priority_normal_value;
 # ifdef __FreeBSD__