mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-23 22:22:05 +08:00
Fixed chrono wrapper
This commit is contained in:
parent
2963b9f07f
commit
4a9ccf7e38
20
include/spdlog/fmt/chrono.h
Normal file
20
include/spdlog/fmt/chrono.h
Normal file
@ -0,0 +1,20 @@
|
||||
//
|
||||
// Copyright(c) 2016 Gabi Melman.
|
||||
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
|
||||
//
|
||||
|
||||
#pragma once
|
||||
//
|
||||
// include bundled or external copy of fmtlib's chrono support
|
||||
//
|
||||
|
||||
#if !defined(SPDLOG_FMT_EXTERNAL)
|
||||
#ifdef SPDLOG_HEADER_ONLY
|
||||
#ifndef FMT_HEADER_ONLY
|
||||
#define FMT_HEADER_ONLY
|
||||
#endif
|
||||
#endif
|
||||
#include <spdlog/fmt/bundled/chrono.h>
|
||||
#else
|
||||
#include <fmt/chrono.h>
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user