summaryrefslogtreecommitdiff
path: root/implementation/logger/include/logger_impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'implementation/logger/include/logger_impl.hpp')
-rw-r--r--implementation/logger/include/logger_impl.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/implementation/logger/include/logger_impl.hpp b/implementation/logger/include/logger_impl.hpp
index bb83363..c827bf4 100644
--- a/implementation/logger/include/logger_impl.hpp
+++ b/implementation/logger/include/logger_impl.hpp
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
+// Copyright (C) 2014-2021 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -10,8 +10,10 @@
#include <mutex>
#ifdef USE_DLT
+#ifndef ANDROID
#include <dlt/dlt.h>
#endif
+#endif
#include <vsomeip/internal/logger.hpp>
@@ -43,7 +45,9 @@ private:
std::shared_ptr<configuration> configuration_;
#ifdef USE_DLT
- DLT_DECLARE_CONTEXT(dlt_);
+#ifndef ANDROID
+ DLT_DECLARE_CONTEXT(dlt_)
+#endif
#endif
};