aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/dvd+rw-tools/files/patch-mp.h
blob: ed1aa8b2703acef2412917a17809b68e9cf6afa7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- mp.h.orig	2008-02-24 17:56:07 UTC
+++ mp.h
@@ -46,7 +46,9 @@ static void *__thread_create(int (*func)(void *),void 
 
     if (pthread_attr_init(&attr)==0 &&
 	pthread_attr_setstacksize(&attr,stack_sz)==0 &&
+#if !defined(__DragonFly__)
 	pthread_attr_setscope(&attr,PTHREAD_SCOPE_SYSTEM)==0 &&
+#endif
 	pthread_create(&h,&attr,(void *(*)(void *))func,arg)==0 )
 	return (void *)h;