OSDN Git Service

* aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
authorhboehm <hboehm@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Aug 2004 21:40:17 +0000 (21:40 +0000)
committerhboehm <hboehm@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Aug 2004 21:40:17 +0000 (21:40 +0000)
* backgraph.c, include/private/gc_pmark.h: Always include gc.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86442 138bc75d-0d04-0410-961f-82ee72b054a4

boehm-gc/ChangeLog
boehm-gc/aix_irix_threads.c
boehm-gc/backgraph.c
boehm-gc/include/private/gc_pmark.h

index 448ebce..9ce395c 100644 (file)
@@ -1,3 +1,8 @@
+2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
+
+       * aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
+       * backgraph.c, include/private/gc_pmark.h: Always include gc.h.
+
 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
 
        * win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h include.
 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
 
        * win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h include.
index 4a5383c..5d27afd 100644 (file)
  * as a base instead.
  */
 
  * as a base instead.
  */
 
+# include "private/gc_priv.h"
+
 # if defined(GC_IRIX_THREADS) || defined(GC_AIX_THREADS)
 
 # if defined(GC_IRIX_THREADS) || defined(GC_AIX_THREADS)
 
-# include "private/gc_priv.h"
 # include <pthread.h>
 # include <assert.h>
 # include <semaphore.h>
 # include <pthread.h>
 # include <assert.h>
 # include <semaphore.h>
index 0fe1c8f..7baf5b1 100644 (file)
@@ -24,6 +24,8 @@
  * a growing space leak.
  */
 
  * a growing space leak.
  */
 
+#include "gc.h"        /* For configuration information. */
+
 #ifdef MAKE_BACK_GRAPH
 
 #define MAX_IN 10      /* Maximum in-degree we handle directly */
 #ifdef MAKE_BACK_GRAPH
 
 #define MAX_IN 10      /* Maximum in-degree we handle directly */
index 5198191..6b15d8a 100644 (file)
@@ -25,6 +25,8 @@
 #ifndef GC_PMARK_H
 # define GC_PMARK_H
 
 #ifndef GC_PMARK_H
 # define GC_PMARK_H
 
+# include "gc.h"       /* For configuration */
+
 # if defined(KEEP_BACK_PTRS) || defined(PRINT_BLACK_LIST)
 #   include "dbg_mlc.h"
 # endif
 # if defined(KEEP_BACK_PTRS) || defined(PRINT_BLACK_LIST)
 #   include "dbg_mlc.h"
 # endif