Only available on MASTER_SITE_MOZILLA_ALL.
[pkgsrcv2.git] / devel / glib2 / patches / patch-ad
1 $NetBSD: patch-ad,v 1.7 2003/11/11 13:39:09 fvdl Exp $
2
3 http://bugzilla.gnome.org/show_bug.cgi?id=134119
4
5 --- gthread/gthread-posix.c.orig        2002-11-04 21:09:47.000000000 +0100
6 +++ gthread/gthread-posix.c
7 @@ -97,7 +97,7 @@ static gboolean posix_check_cmd_prio_war
8  # error This should not happen. Contact the GLib team.
9  #endif
10  
11 -#if defined (POSIX_MIN_PRIORITY) && defined (POSIX_MAX_PRIORITY)
12 +#if defined (POSIX_MIN_PRIORITY) && defined (POSIX_MAX_PRIORITY) && defined(_POSIX_THREAD_PRIORITY_SCHEDULING)
13  # define HAVE_PRIORITIES 1
14  static gint priority_normal_value;
15  # ifdef __FreeBSD__