This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [patch] boehm-gc include for solaris
Hans Boehm wrote:
Thanks.
I put Bryce's version in the upstream tree. But I haven't tested
it yet.
Like this one?
Andreas
2004-08-15 Andreas Tobler <a.tobler@schweiz.ch>
* solaris_threads.c: Remove ifdef around #include "private/gc_priv.h"
since they're not known at this time.
* 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 15 Aug 2004 10:56:16 -0000
@@ -16,9 +16,8 @@
* Modified by Peter C. for Solaris Posix Threads.
*/
-# if defined(GC_SOLARIS_PTHREADS) || defined(GC_THREADS)
-# include "private/gc_priv.h"
-# endif
+#include "private/gc_priv.h"
+
# if defined(GC_SOLARIS_PTHREADS)
# include <pthread.h>
# include <thread.h>
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 15 Aug 2004 10:56:17 -0000
@@ -16,10 +16,7 @@
*/
/* Boehm, September 14, 1994 4:44 pm PDT */
-# if defined(GC_SOLARIS_THREADS) || defined(GC_SOLARIS_PTHREADS) \
- || defined(GC_THREADS)
-# include "private/gc_priv.h"
-# endif
+#include "private/gc_priv.h"
# if defined(GC_SOLARIS_THREADS) || defined(GC_SOLARIS_PTHREADS)
# include "private/solaris_threads.h"