From 39ec21eae0095f38d43febcef4787fffe13388a6 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 17 Feb 2000 15:22:35 +0000 Subject: [PATCH] (main) [GC_MARK_STACK]: Initialize stack_base. --- src/emacs.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.39.5