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
This commit is contained in:
Hans Boehm 2004-08-23 21:40:17 +00:00 committed by Hans Boehm
parent 8ba141520c
commit 9a870e6c4c
4 changed files with 11 additions and 1 deletions

View 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> 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.

View File

@ -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>

View File

@ -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 */

View File

@ -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