Gerald Pfeifer pfeifer@dbai.tuwien.ac.at writes:
I'm leaving for holidays very soon and have to proof-read some 60 exams before that, so I won't be able to track this down, but perhaps one of could fix the build failure seen on FreeBSD 4.2?
Perhaps just some incomplete #ifdef ... #endif sequence?
Yep, here's a fix:
Index: scheduler/pthread.c =================================================================== RCS file: /opt/cvs-commit/wine/scheduler/pthread.c,v retrieving revision 1.11 diff -u -r1.11 pthread.c --- scheduler/pthread.c 2001/02/23 01:37:05 1.11 +++ scheduler/pthread.c 2001/02/23 22:27:07 @@ -18,6 +18,13 @@ #include "winbase.h" #include "thread.h"
+static int init_done; + +void PTHREAD_init_done(void) +{ + init_done = 1; +} + /* Currently this probably works only for glibc2, * which checks for the presence of double-underscore-prepended * pthread primitives, and use them if available. @@ -86,13 +93,6 @@ #define MAX_KEYS 16 /* libc6 doesn't use that many, but... */
#define P_OUTPUT(stuff) write(2,stuff,strlen(stuff)) - -static int init_done; - -void PTHREAD_init_done(void) -{ - init_done = 1; -}
void __pthread_initialize(void) {
On 23 Feb 2001, Alexandre Julliard wrote:
Perhaps just some incomplete #ifdef ... #endif sequence?
Yep, here's a fix:
Index: scheduler/pthread.c
Yes, that fixes it. Thanks!
Gerald