emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/comp-static-data 89892db0af 8/9: src/comp.h: Check for GC_CHECK_


From: Vibhav Pant
Subject: scratch/comp-static-data 89892db0af 8/9: src/comp.h: Check for GC_CHECK_MARKED_OBJECTS correctly.
Date: Tue, 20 Dec 2022 11:29:41 -0500 (EST)

branch: scratch/comp-static-data
commit 89892db0af4f8a803eb7ff3f5f7880d3126702ff
Author: Vibhav Pant <vibhavp@gmail.com>
Commit: Vibhav Pant <vibhavp@gmail.com>

    src/comp.h: Check for GC_CHECK_MARKED_OBJECTS correctly.
    
    * src/comp.h: Instead of checking whether GC_CHECK_MARKED_OBJECTS is
    defined, just check the macro's value, similar to how it is used in
    alloc.c.
---
 src/comp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/comp.h b/src/comp.h
index 0f498b68e0..1212ae8d56 100644
--- a/src/comp.h
+++ b/src/comp.h
@@ -28,7 +28,7 @@ along with GNU Emacs.  If not, see 
<https://www.gnu.org/licenses/>.  */
   && defined (LIBGCCJIT_HAVE_CTORS)                               \
   && defined (LIBGCCJIT_HAVE_gcc_jit_type_get_aligned)            \
   && defined (LIBGCCJIT_HAVE_ALIGNMENT) && USE_STACK_LISP_OBJECTS \
-  && !defined (GC_CHECK_MARKED_OBJECTS)
+  && !GC_CHECK_MARKED_OBJECTS
 #define HAVE_STATIC_LISP_GLOBALS 1
 #endif
 #endif



reply via email to

[Prev in Thread] Current Thread [Next in Thread]