From e3257e56ab32c87640861a5297db07aad2992b60 Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 4 Apr 2020 17:13:03 +0300 Subject: [PATCH] Fix #1480 --- include/spdlog/fmt/fmt.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/spdlog/fmt/fmt.h b/include/spdlog/fmt/fmt.h index 289979aa..b853fd5e 100644 --- a/include/spdlog/fmt/fmt.h +++ b/include/spdlog/fmt/fmt.h @@ -11,11 +11,9 @@ // #if !defined(SPDLOG_FMT_EXTERNAL) -#ifdef SPDLOG_HEADER_ONLY -#ifndef FMT_HEADER_ONLY +#if !defined(SPDLOG_COMPILED_LIB) && !defined(FMT_HEADER_ONLY) #define FMT_HEADER_ONLY #endif -#endif #ifndef FMT_USE_WINDOWS_H #define FMT_USE_WINDOWS_H 0 #endif