From a33de607df37f1aced0ee243af28e6fab9e82618 Mon Sep 17 00:00:00 2001 From: gabime Date: Tue, 4 Jun 2019 16:41:24 +0300 Subject: [PATCH] Fix issue #1099 --- include/spdlog/sinks/android_sink.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/spdlog/sinks/android_sink.h b/include/spdlog/sinks/android_sink.h index 701c0e95..df332905 100644 --- a/include/spdlog/sinks/android_sink.h +++ b/include/spdlog/sinks/android_sink.h @@ -3,6 +3,8 @@ #pragma once +#ifdef __ANDROID__ + #include "spdlog/details/fmt_helper.h" #include "spdlog/details/null_mutex.h" #include "spdlog/details/os.h" @@ -113,3 +115,5 @@ inline std::shared_ptr android_logger_st(const std::string &logger_name, } } // namespace spdlog + +#endif // __ANDROID__ \ No newline at end of file