std.h 641 B

123456789101112131415161718192021222324
  1. //
  2. // Copyright(c) 2016 Gabi Melman.
  3. // Distributed under the MIT License (http://opensource.org/licenses/MIT)
  4. //
  5. #pragma once
  6. //
  7. // include bundled or external copy of fmtlib's std support (for formatting e.g.
  8. // std::filesystem::path, std::thread::id, std::monostate, std::variant, ...)
  9. //
  10. #include <spdlog/tweakme.h>
  11. #if !defined(SPDLOG_USE_STD_FORMAT)
  12. #if !defined(SPDLOG_FMT_EXTERNAL)
  13. #ifdef SPDLOG_HEADER_ONLY
  14. #ifndef FMT_HEADER_ONLY
  15. #define FMT_HEADER_ONLY
  16. #endif
  17. #endif
  18. #include <spdlog/fmt/bundled/std.h>
  19. #else
  20. #include <fmt/std.h>
  21. #endif
  22. #endif