changeset 27740:048c82411361

(main) [GC_MARK_STACK]: Initialize stack_base.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 17 Feb 2000 15:22:35 +0000
parents e272d652619a
children ef732a190ead
files src/emacs.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Thu Feb 17 15:21:58 2000 +0000
+++ b/src/emacs.c	Thu Feb 17 15:22:35 2000 +0000
@@ -694,6 +694,9 @@
      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 @@
 #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