[Patch] boehm-gc/win32_threads.c: Get configuration defines

Boehm, Hans hans.boehm@hp.com
Mon Aug 23 18:00:00 GMT 2004


Please instead include gc_priv.h above the #if.

That's both simpler, and is acceptable for the upstream source,
which has no gc_config.h.

Thanks.

Hans

> -----Original Message-----
> From: java-patches-owner@gcc.gnu.org
> [mailto:java-patches-owner@gcc.gnu.org]On Behalf Of Danny Smith
> Sent: Sunday, August 22, 2004 2:24 PM
> To: GCC Patches; java-patches
> Subject: [Patch] boehm-gc/win32_threads.c: Get configuration defines 
> 
> 
> Build of libgcj fails on mingw32 because of missing symbols from
> boehm-gc/win32_threads.c. In fact, win32_threads.o is an empty file,
> because the necessary configuration defines are no longer in the
> makefile but in gc_config.h.
> 
> This fixes:
> 
> 2004-08-23  Danny Smith  <dannysith@users.sourceforge.net>
> 
> 	* win32_threads.c: Include "gc_config.h"
> 
> Index: win32_threads.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/boehm-gc/win32_threads.c,v
> retrieving revision 1.17
> diff -c -3 -p -r1.17 win32_threads.c
> *** win32_threads.c	13 Aug 2004 23:05:30 -0000	1.17
> --- win32_threads.c	22 Aug 2004 21:14:24 -0000
> ***************
> *** 1,3 ****
> --- 1,4 ----
> + #include "gc_config.h"
>   #if defined(GC_WIN32_THREADS) 
>   
>   #include "private/gc_priv.h".
> 
> Find local movie times and trailers on Yahoo! Movies.
> http://au.movies.yahoo.com
> 



More information about the Gcc-patches mailing list