From 2419dc7373775f84b58cabe33979758875225d7a Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 6 Dec 2024 14:46:15 +0200 Subject: [PATCH] Fix windows compile --- include/spdlog/spdlog.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/spdlog/spdlog.h b/include/spdlog/spdlog.h index 7173f1ca..fc4ae1f5 100644 --- a/include/spdlog/spdlog.h +++ b/include/spdlog/spdlog.h @@ -22,9 +22,9 @@ namespace spdlog { using default_factory = synchronous_factory; -void set_context(std::shared_ptr context); -std::shared_ptr context(); -const std::shared_ptr &context_ref(); +SPDLOG_API void set_context(std::shared_ptr context); +SPDLOG_API std::shared_ptr context(); +SPDLOG_API const std::shared_ptr &context_ref(); // Create a logger with a templated sink type // Example: