From 2170de881934982e6534f06f73d56e51197235c2 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Tue, 28 Apr 2020 18:42:59 +0300 Subject: [PATCH] Update common.h --- include/spdlog/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/spdlog/common.h b/include/spdlog/common.h index ff0285c4..d2393e55 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -23,11 +23,11 @@ #else #define SPDLOG_API __declspec(dllimport) #endif -#else +#else // !defined(_WIN32) || !defined(SPDLOG_SHARED_LIB) #define SPDLOG_API #endif #define SPDLOG_INLINE -#else // !defined(_WIN32) || !defined(SPDLOG_SHARED_LIB) +#else // !defined(SPDLOG_COMPILED_LIB) #define SPDLOG_API #define SPDLOG_HEADER_ONLY #define SPDLOG_INLINE inline