Patch for Bug #1722
Gabriele Giorgetti
gabriele.giorgetti at teamfab.it
Thu Sep 18 03:45:35 CDT 2003
Here is the patch for bug 1722.
Wine 20030911 does not compile with egcs-2.91.xx & libc5-1.0-3
Regards.
-------------- next part --------------
diff -urN wine-20030911.orig/scheduler/pthread.c wine-20030911/scheduler/pthread.c
--- wine-20030911.orig/scheduler/pthread.c Thu Sep 11 03:09:09 2003
+++ wine-20030911/scheduler/pthread.c Thu Sep 18 10:41:02 2003
@@ -94,6 +94,12 @@
return descr;
}
+struct __res_state *__res_state(void)
+{
+ pthread_descr descr = __pthread_thread_self();
+ return &descr->res_state;
+}
+
static int (*libc_uselocale)(int set);
static int *libc_multiple_threads;
@@ -260,12 +266,6 @@
strong_alias(__pthread_thread_self, pthread_thread_self);
-struct __res_state *__res_state(void)
-{
- pthread_descr descr = __pthread_thread_self();
- return &descr->res_state;
-}
-
/* redefine this to prevent libpthread from overriding our function pointers */
int *__libc_pthread_init( const struct pthread_functions *funcs )
{
More information about the wine-patches
mailing list