include/wine/pthread: add pthread_attr_get_np support

Tijl Coosemans tijl at ulyssis.org
Sat Aug 5 16:38:33 CDT 2006


* include pthread_np.h when available

Index: include/wine/pthread.h
===================================================================
RCS file: /home/wine/wine/include/wine/pthread.h,v
retrieving revision 1.12
diff -u -r1.12 pthread.h
--- include/wine/pthread.h	23 Jun 2006 11:46:36 -0000	1.12
+++ include/wine/pthread.h	5 Aug 2006 21:33:59 -0000
@@ -29,6 +29,9 @@
 
 #define _GNU_SOURCE
 #include <pthread.h>
+#ifdef HAVE_PTHREAD_NP_H
+#include <pthread_np.h>
+#endif
 
 #ifndef HAVE_PTHREAD_RWLOCK_T
 typedef void *pthread_rwlock_t;



More information about the wine-patches mailing list