aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk10/files
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2013-07-04 22:46:33 +0000
committerFlorian Smeets <flo@FreeBSD.org>2013-07-04 22:46:33 +0000
commitb003ca6d3472473cf343e05755f41df06ba4ab50 (patch)
tree4a254539bcb88ee266436d7c7d286930a8315b3a /net/asterisk10/files
parent42da4e24d41ef057e5113b2bcbcf6c85cb6952ca (diff)
downloadports-b003ca6d3472473cf343e05755f41df06ba4ab50.tar.gz
ports-b003ca6d3472473cf343e05755f41df06ba4ab50.zip
Notes
Diffstat (limited to 'net/asterisk10/files')
-rw-r--r--net/asterisk10/files/patch-main::utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/asterisk10/files/patch-main::utils.c b/net/asterisk10/files/patch-main::utils.c
index 7440848a1521..8b6e268d1cb9 100644
--- a/net/asterisk10/files/patch-main::utils.c
+++ b/net/asterisk10/files/patch-main::utils.c
@@ -6,7 +6,7 @@
-#ifdef __linux__
- /* On Linux, pthread_attr_init() defaults to PTHREAD_EXPLICIT_SCHED,
-+#ifdef __linux__ || defined(__FreeBSD__)
++#if defined(__linux__) || defined(__FreeBSD__)
+ /* On Linux and FreeBSD, pthread_attr_init() defaults to PTHREAD_EXPLICIT_SCHED,
which is kind of useless. Change this here to
PTHREAD_INHERIT_SCHED; that way the -p option to set realtime