summaryrefslogtreecommitdiffstats
path: root/utils/src
diff options
context:
space:
mode:
Diffstat (limited to 'utils/src')
-rw-r--r--utils/src/ping_client.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/src/ping_client.cc b/utils/src/ping_client.cc
index d72177830..f88bc7eec 100644
--- a/utils/src/ping_client.cc
+++ b/utils/src/ping_client.cc
@@ -18,8 +18,10 @@
// Let's make the linker happy
#if !TRANSPORT_LOG_EXTERN_GLOBAL_OUTPUT_LEVEL
+#ifndef TRANSPORT_LOG_DEFINE_GLOBAL_OUTPUT_LEVEL
TRANSPORT_LOG_DEFINE_GLOBAL_OUTPUT_LEVEL = 0;
#endif
+#endif
#include <asio/steady_timer.hpp>
#include <chrono>