[patch] boehm-gc include for solaris

Bryce McKinlay mckinlay@redhat.com
Mon Aug 16 22:57:00 GMT 2004


Its probably better to just delete the #ifdef's around the #include 
"private/gc_priv.h".

Regards

Bryce


On Aug 14, 2004, at 2:52 AM, Andreas Tobler wrote:

> Hi,
>
> without the patch below I get unresolved symbols when running make 
> check in boehm-gc under solaris.
>
> Andreas
>
> 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
>
> 	* solaris_threads.c: Include gc.h for threads definition.
> 	* solaris_pthreads.c: Likewise.
>
>
> Index: solaris_pthreads.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/boehm-gc/solaris_pthreads.c,v
> retrieving revision 1.10
> diff -u -r1.10 solaris_pthreads.c
> --- solaris_pthreads.c	13 Aug 2004 23:05:30 -0000	1.10
> +++ solaris_pthreads.c	14 Aug 2004 06:48:35 -0000
> @@ -16,6 +16,8 @@
>   * Modified by Peter C. for Solaris Posix Threads.
>   */
>
> +#include <gc.h>
> +
>  # if defined(GC_SOLARIS_PTHREADS) || defined(GC_THREADS)
>  # include "private/gc_priv.h"
>  # endif
> Index: solaris_threads.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/boehm-gc/solaris_threads.c,v
> retrieving revision 1.11
> diff -u -r1.11 solaris_threads.c
> --- solaris_threads.c	13 Aug 2004 23:05:30 -0000	1.11
> +++ solaris_threads.c	14 Aug 2004 06:48:36 -0000
> @@ -16,6 +16,8 @@
>   */
>  /* Boehm, September 14, 1994 4:44 pm PDT */
>
> +#include <gc.h>
> +
>  # if defined(GC_SOLARIS_THREADS) || defined(GC_SOLARIS_PTHREADS) \
>       || defined(GC_THREADS)
>  #   include "private/gc_priv.h"



More information about the Java-patches mailing list