Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabi Melman <gmelman1@gmail.com>2022-05-13 11:01:19 +0300
committerGitHub <noreply@github.com>2022-05-13 11:01:19 +0300
commit0ef5228a77f6dbc8acd31f62f7f5a5dc87902f77 (patch)
tree0bf87e83fa6da19836adfa285b4aa7d188eafcdf /include/spdlog
parente05b8542a02003871182664e1bbb19fa76ec1c66 (diff)
parentd3dee23e6c59624deadd350ca72e51eeb94ddbc5 (diff)
Merge pull request #2372 from kslattery/v1.x
C++14 build fixes for older gcc #2333
Diffstat (limited to 'include/spdlog')
-rw-r--r--include/spdlog/fmt/bin_to_hex.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/spdlog/fmt/bin_to_hex.h b/include/spdlog/fmt/bin_to_hex.h
index 93e5c28b..2a5d02c9 100644
--- a/include/spdlog/fmt/bin_to_hex.h
+++ b/include/spdlog/fmt/bin_to_hex.h
@@ -8,8 +8,10 @@
#include <cctype>
#include <spdlog/common.h>
-#if defined(__has_include) && __has_include(<version>)
-# include <version>
+#if defined(__has_include)
+# if __has_include(<version>)
+# include <version>
+# endif
#endif
#if __cpp_lib_span >= 202002L