From: Vibhav Pant Date: Sat, 3 Dec 2022 14:55:13 +0000 (+0530) Subject: ; src/alloc.c: Use the correct preprocessor check for ASan poisoning X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5b12778507ce83df91999faeed39866d72325936;p=emacs.git ; src/alloc.c: Use the correct preprocessor check for ASan poisoning --- diff --git a/src/alloc.c b/src/alloc.c index 4d09f0f0f59..65193cdb80a 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -5105,7 +5105,7 @@ live_float_holding (struct mem_node *m, void *p) || offset / sizeof b->floats[0] < float_block_index)) { struct Lisp_Float *f = (struct Lisp_Float *) cp - off; -#ifdef GC_ASAN_POISON_OBJECTS +#if GC_ASAN_POISON_OBJECTS if (__asan_region_is_poisoned (f, sizeof (*f))) return NULL; #endif