chrono.h 523 B

12345678910111213141516171819202122
  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 chrono support
  8. //
  9. #if !defined(SPDLOG_USE_STD_FORMAT)
  10. # if !defined(SPDLOG_FMT_EXTERNAL)
  11. # ifdef SPDLOG_HEADER_ONLY
  12. # ifndef FMT_HEADER_ONLY
  13. # define FMT_HEADER_ONLY
  14. # endif
  15. # endif
  16. # include <spdlog/fmt/bundled/chrono.h>
  17. # else
  18. # include <fmt/chrono.h>
  19. # endif
  20. #endif