[Patch] boehm-gc/win32_threads.c: Get configuration defines
Boehm, Hans
hans.boehm@hp.com
Wed Aug 25 15:21:00 GMT 2004
I checked in the attached patch, which also fixes two other similar
problems, which show up with GC_DEBUG enabled. (There I chose to
just include gc.h unconditionally instead, since it's harder to
just use the #if.)
AFAIK the AIX/Irix part is still untested, but since it's pretty
clearly broken without the patch ...
Hans
> -----Original Message-----
> From: Bryce McKinlay [mailto:mckinlay@redhat.com]
> Sent: Monday, August 23, 2004 2:20 PM
> To: Boehm, Hans
> Cc: GCC Patches; java-patches
> Subject: Re: [Patch] boehm-gc/win32_threads.c: Get
> configuration defines
>
>
> Looks good to me.
>
> Bryce
>
> Boehm, Hans wrote:
>
> >By analogy how about the following, which I can't test?
> >
> >Hans
> >
> >Index: aix_irix_threads.c
> >===================================================================
> >RCS file: /cvs/gcc/gcc/boehm-gc/aix_irix_threads.c,v
> >retrieving revision 1.2
> >diff -u -r1.2 aix_irix_threads.c
> >--- aix_irix_threads.c 13 Aug 2004 23:05:29 -0000 1.2
> >+++ aix_irix_threads.c 23 Aug 2004 20:30:37 -0000
> >@@ -26,9 +26,10 @@
> > * as a base instead.
> > */
> >
> >+# include "private/gc_priv.h"
> >+
> > # if defined(GC_IRIX_THREADS) || defined(GC_AIX_THREADS)
> >
> >-# include "private/gc_priv.h"
> > # include <pthread.h>
> > # include <assert.h>
> > # include <semaphore.h>
> >
> >
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gc_inc.patch
Type: application/octet-stream
Size: 2146 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040825/bd02089f/attachment.obj>
More information about the Java-patches
mailing list