svn commit: r359421 - head/stand/libsa

Toomas Soome tsoome at FreeBSD.org
Sun Mar 29 06:49:10 UTC 2020


Author: tsoome
Date: Sun Mar 29 06:48:59 2020
New Revision: 359421
URL: https://svnweb.freebsd.org/changeset/base/359421

Log:
  loader: use #elif defined() in stand.h
  
  Small cleanup.
  
  Reported by:	imp

Modified:
  head/stand/libsa/stand.h

Modified: head/stand/libsa/stand.h
==============================================================================
--- head/stand/libsa/stand.h	Sun Mar 29 06:25:57 2020	(r359420)
+++ head/stand/libsa/stand.h	Sun Mar 29 06:48:59 2020	(r359421)
@@ -443,7 +443,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__)


More information about the svn-src-head mailing list