This is an automated email from the ASF dual-hosted git repository.

masaori pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 9987d72  Fix TS_USE_DIAGS usage for --disable-diags option
9987d72 is described below

commit 9987d720ef75010612972695c8ac1ca4eefa555f
Author: Masaori Koshiba <[email protected]>
AuthorDate: Fri Dec 13 09:29:57 2019 +0900

    Fix TS_USE_DIAGS usage for --disable-diags option
---
 include/tscore/Diags.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/tscore/Diags.h b/include/tscore/Diags.h
index 3bac36c..23c6696 100644
--- a/include/tscore/Diags.h
+++ b/include/tscore/Diags.h
@@ -312,7 +312,7 @@ extern inkcoreapi Diags *diags;
 #define AlertV(fmt, ap) DiagsErrorV(DL_Alert, fmt, ap)
 #define EmergencyV(fmt, ap) DiagsErrorV(DL_Emergency, fmt, ap)
 
-#ifdef TS_USE_DIAGS
+#if TS_USE_DIAGS
 
 #define Diag(tag, ...)                                 \
   do {                                                 \

Reply via email to