The branch stable/12 has been updated by kevans:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=3b93fb61a9f99898fdf5e48e8386e773df0d44cb

commit 3b93fb61a9f99898fdf5e48e8386e773df0d44cb
Author:     Toomas Soome <[email protected]>
AuthorDate: 2020-03-29 06:48:59 +0000
Commit:     Kyle Evans <[email protected]>
CommitDate: 2021-10-08 02:42:36 +0000

    loader: use #elif defined() in stand.h
    
    Small cleanup.
    
    (cherry picked from commit 5292d0a7f308907bd9c3b37d42d348a144d05978)
---
 stand/libsa/stand.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stand/libsa/stand.h b/stand/libsa/stand.h
index 086e1d298a49..7f0967fb5079 100644
--- a/stand/libsa/stand.h
+++ b/stand/libsa/stand.h
@@ -444,7 +444,7 @@ extern void *calloc(size_t, size_t);
 extern void free(void *);
 extern void *realloc(void *, size_t);
 extern void *reallocf(void *, size_t);
-#elif DEBUG_MALLOC
+#elif defined(DEBUG_MALLOC)
 #define malloc(x)      Malloc(x, __FILE__, __LINE__)
 #define memalign(x, y) Memalign(x, y, __FILE__, __LINE__)
 #define calloc(x, y)   Calloc(x, y, __FILE__, __LINE__)

Reply via email to