summaryrefslogtreecommitdiffstats
path: root/deps/include/spdlog/fmt/fmt.h
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-03-15 16:22:09 +0500
committeruntodesu <kirill@untode.su>2025-03-15 16:22:09 +0500
commit3bf42c6ff3805a0d42bbc661794a95ff31bedc26 (patch)
tree05049955847504808d6bed2bb7b155f8b03807bb /deps/include/spdlog/fmt/fmt.h
parent02294547dcde0d4ad76e229106702261e9f10a51 (diff)
downloadvoxelius-3bf42c6ff3805a0d42bbc661794a95ff31bedc26.tar.bz2
voxelius-3bf42c6ff3805a0d42bbc661794a95ff31bedc26.zip
Add whatever I was working on for the last month
Diffstat (limited to 'deps/include/spdlog/fmt/fmt.h')
-rw-r--r--deps/include/spdlog/fmt/fmt.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/deps/include/spdlog/fmt/fmt.h b/deps/include/spdlog/fmt/fmt.h
new file mode 100644
index 0000000..06cbf8b
--- /dev/null
+++ b/deps/include/spdlog/fmt/fmt.h
@@ -0,0 +1,30 @@
+//
+// Copyright(c) 2016-2018 Gabi Melman.
+// Distributed under the MIT License (http://opensource.org/licenses/MIT)
+//
+
+#pragma once
+
+//
+// Include a bundled header-only copy of fmtlib or an external one.
+// By default spdlog include its own copy.
+//
+#include <spdlog/tweakme.h>
+
+#if defined(SPDLOG_USE_STD_FORMAT) // SPDLOG_USE_STD_FORMAT is defined - use std::format
+ #include <format>
+#elif !defined(SPDLOG_FMT_EXTERNAL)
+ #if !defined(SPDLOG_COMPILED_LIB) && !defined(FMT_HEADER_ONLY)
+ #define FMT_HEADER_ONLY
+ #endif
+ #ifndef FMT_USE_WINDOWS_H
+ #define FMT_USE_WINDOWS_H 0
+ #endif
+
+ #include <spdlog/fmt/bundled/core.h>
+ #include <spdlog/fmt/bundled/format.h>
+
+#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
+ #include <fmt/core.h>
+ #include <fmt/format.h>
+#endif