From: Gerd Moellmann Date: Thu, 17 Feb 2000 15:22:35 +0000 (+0000) Subject: (main) [GC_MARK_STACK]: Initialize stack_base. X-Git-Tag: emacs-pretest-21.0.90~4987 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=39ec21eae0095f38d43febcef4787fffe13388a6;p=emacs.git (main) [GC_MARK_STACK]: Initialize stack_base. --- diff --git a/src/emacs.c b/src/emacs.c index 0dc6e07fb30..37d7635089b 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -694,6 +694,9 @@ main (argc, argv, envp) char **argv; char **envp; { +#ifdef GC_MARK_STACK + Lisp_Object dummy; +#endif char stack_bottom_variable; int do_initial_setlocale; int skip_args = 0; @@ -704,6 +707,11 @@ main (argc, argv, envp) #endif int no_loadup = 0; +#ifdef GC_MARK_STACK + extern Lisp_Object *stack_base; + stack_base = &dummy; +#endif + #ifdef LINUX_SBRK_BUG __sbrk (1); #endif