pthread.h and Mingw

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We dont have pthread.h by default on mingw.

Changelog:
Add check for pthread.h in libwine

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
Index: configure
===================================================================
RCS file: /home/wine/wine/configure,v
retrieving revision 1.465
diff -u -r1.465 configure
--- configure	11 Oct 2003 01:05:18 -0000	1.465
+++ configure	12 Oct 2003 01:05:42 -0000
@@ -13903,6 +13903,7 @@
 	netinet/tcp.h \
 	netinet/tcp_fsm.h \
 	openssl/ssl.h \
+	pthread.h \
 	pty.h \
 	pwd.h \
 	regex.h \

Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.187
diff -u -r1.187 configure.ac
--- configure.ac	11 Oct 2003 01:05:18 -0000	1.187
+++ configure.ac	12 Oct 2003 01:07:00 -0000
@@ -1020,6 +1020,7 @@
 	netinet/tcp.h \
 	netinet/tcp_fsm.h \
 	openssl/ssl.h \
+	pthread.h \
 	pty.h \
 	pwd.h \
 	regex.h \

Index: include/config.h.in
===================================================================
RCS file: /home/wine/wine/include/config.h.in,v
retrieving revision 1.164
diff -u -r1.164 config.h.in
--- include/config.h.in	7 Oct 2003 22:49:22 -0000	1.164
+++ include/config.h.in	12 Oct 2003 01:07:13 -0000
@@ -395,6 +395,9 @@
 /* Define to 1 if you have the `pread' function. */
 #undef HAVE_PREAD
 
+/* Define to 1 if you have the <pthread.h> header file. */
+#undef HAVE_PTHREAD_H
+
 /* Define to 1 if the system has the type `pthread_rwlockattr_t'. */
 #undef HAVE_PTHREAD_RWLOCKATTR_T
 
Index: libs/wine/port.c
===================================================================
RCS file: /home/wine/wine/libs/wine/port.c,v
retrieving revision 1.2
diff -u -r1.2 port.c
--- libs/wine/port.c	10 Oct 2003 00:22:19 -0000	1.2
+++ libs/wine/port.c	12 Oct 2003 01:08:32 -0000
@@ -38,7 +38,9 @@
 #endif
 
 #include "wine/library.h"
+#ifdef HAVE_PTHREAD_H
 #include "wine/pthread.h"
+#endif /* HAVE_PTHREAD_H */
 
 /***********************************************************************
  *           wine_switch_to_stack

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux