Commit 9a870e6c by Hans Boehm Committed by Hans Boehm

aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.

	* aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
	* backgraph.c, include/private/gc_pmark.h: Always include gc.h.

From-SVN: r86442
parent 8ba14152
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> 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
* win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h include. * win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h include.
......
...@@ -26,9 +26,10 @@ ...@@ -26,9 +26,10 @@
* 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 <pthread.h>
# include <assert.h> # include <assert.h>
# include <semaphore.h> # include <semaphore.h>
......
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
* a growing space leak. * a growing space leak.
*/ */
#include "gc.h" /* For configuration information. */
#ifdef MAKE_BACK_GRAPH #ifdef MAKE_BACK_GRAPH
#define MAX_IN 10 /* Maximum in-degree we handle directly */ #define MAX_IN 10 /* Maximum in-degree we handle directly */
......
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
#ifndef GC_PMARK_H #ifndef GC_PMARK_H
# define GC_PMARK_H # define GC_PMARK_H
# include "gc.h" /* For configuration */
# if defined(KEEP_BACK_PTRS) || defined(PRINT_BLACK_LIST) # if defined(KEEP_BACK_PTRS) || defined(PRINT_BLACK_LIST)
# include "dbg_mlc.h" # include "dbg_mlc.h"
# endif # endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment