From: Dave Love Date: Wed, 11 Jun 2003 11:39:37 +0000 (+0000) Subject: Include gc.h. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ff0a612fcb9eeb850d3964330c1aa8c3f47fde7b;p=emacs.git Include gc.h. (main): Cases for BOEHM_GC. --- diff --git a/src/emacs.c b/src/emacs.c index 05897e9bb44..eabd8466c51 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -40,6 +40,10 @@ Boston, MA 02111-1307, USA. */ #include #endif +#ifdef BOEHM_GC +#include +#endif + #ifdef WINDOWSNT #include #endif @@ -793,10 +797,14 @@ main (argc, argv int no_loadup = 0; char *junk = 0; -#if GC_MARK_STACK +#if GC_MARK_STACK || defined (BOEHM_GC) extern Lisp_Object *stack_base; stack_base = &dummy; #endif +#ifdef BOEHM_GC + /* Preferable to avoid setting it automatically; see gc.h. */ + GC_stackbottom = (char *) stack_base; +#endif #ifdef LINUX_SBRK_BUG __sbrk (1);