Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Mar 2020 06:48:59 +0000 (UTC)
From:      Toomas Soome <tsoome@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r359421 - head/stand/libsa
Message-ID:  <202003290648.02T6mxex093775@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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__)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003290648.02T6mxex093775>