aboutsummaryrefslogtreecommitdiff
path: root/src/processor/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/processor/logging.h')
-rw-r--r--src/processor/logging.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/processor/logging.h b/src/processor/logging.h
index 97c2fe31..af539a4f 100644
--- a/src/processor/logging.h
+++ b/src/processor/logging.h
@@ -190,7 +190,9 @@ int ErrnoString(string *error_string);
__FILE__, __LINE__)
#endif // BPLOG_CRITICAL
+#ifndef BPLOG_IF
#define BPLOG_IF(severity, condition) \
BPLOG_LAZY_STREAM(severity, ((condition) && BPLOG_LOG_IS_ON(severity)))
+#endif // BPLOG_IF
#endif // PROCESSOR_LOGGING_H__