git: 3b93fb61a9f9 - stable/12 - loader: use #elif defined() in stand.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Oct 2021 06:10:42 UTC
The branch stable/12 has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=3b93fb61a9f99898fdf5e48e8386e773df0d44cb commit 3b93fb61a9f99898fdf5e48e8386e773df0d44cb Author: Toomas Soome <tsoome@FreeBSD.org> AuthorDate: 2020-03-29 06:48:59 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> 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__)