loader: use #elif defined() in stand.h

Small cleanup.

Reported by:	imp
This commit is contained in:
Toomas Soome 2020-03-29 06:48:59 +00:00
parent ddc7507637
commit 5292d0a7f3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=359421

View File

@ -443,7 +443,7 @@ extern void *calloc(size_t, size_t);
extern void free(void *); extern void free(void *);
extern void *realloc(void *, size_t); extern void *realloc(void *, size_t);
extern void *reallocf(void *, size_t); extern void *reallocf(void *, size_t);
#elif DEBUG_MALLOC #elif defined(DEBUG_MALLOC)
#define malloc(x) Malloc(x, __FILE__, __LINE__) #define malloc(x) Malloc(x, __FILE__, __LINE__)
#define memalign(x, y) Memalign(x, y, __FILE__, __LINE__) #define memalign(x, y) Memalign(x, y, __FILE__, __LINE__)
#define calloc(x, y) Calloc(x, y, __FILE__, __LINE__) #define calloc(x, y) Calloc(x, y, __FILE__, __LINE__)