diff src/alloc.c @ 46293:1fb8f75062c6

Use macro SPECPDL_INDEX.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 11 Jul 2002 14:18:02 +0000
parents 3f111801efb4
children fed6b815dbeb
line wrap: on
line diff
--- a/src/alloc.c	Wed Jul 10 11:08:01 2002 +0000
+++ b/src/alloc.c	Thu Jul 11 14:18:02 2002 +0000
@@ -4020,7 +4020,7 @@
 int
 inhibit_garbage_collection ()
 {
-  int count = specpdl_ptr - specpdl;
+  int count = SPECPDL_INDEX ();
   int nbits = min (VALBITS, BITS_PER_INT);
 
   specbind (Qgc_cons_threshold, make_number (((EMACS_INT) 1 << (nbits - 1)) - 1));