summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/alloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 7ec882f3dd3..5c2a6fb48c3 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -5033,6 +5033,7 @@ mark_object (arg)
break;
case Lisp_Misc_Save_Value:
+#if GC_MARK_STACK
{
register struct Lisp_Save_Value *ptr = XSAVE_VALUE (obj);
/* If DOGC is set, POINTER is the address of a memory
@@ -5045,6 +5046,7 @@ mark_object (arg)
mark_maybe_object (*p);
}
}
+#endif
break;
case Lisp_Misc_Overlay: