std.h 613 B

1234567891011121314151617181920212223
  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. std::filesystem::path, std::thread::id, std::monostate,
  8. // std::variant, ...)
  9. //
  10. #if !defined(SPDLOG_USE_STD_FORMAT)
  11. # if !defined(SPDLOG_FMT_EXTERNAL)
  12. # ifdef SPDLOG_HEADER_ONLY
  13. # ifndef FMT_HEADER_ONLY
  14. # define FMT_HEADER_ONLY
  15. # endif
  16. # endif
  17. # include <spdlog/fmt/bundled/std.h>
  18. # else
  19. # include <fmt/std.h>
  20. # endif
  21. #endif