Skip to content

Commit 4a9ccf7

Browse files
author
gabime
committed
Fixed chrono wrapper
1 parent 2963b9f commit 4a9ccf7

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

include/spdlog/fmt/chrono.h

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
//
2+
// Copyright(c) 2016 Gabi Melman.
3+
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
4+
//
5+
6+
#pragma once
7+
//
8+
// include bundled or external copy of fmtlib's chrono support
9+
//
10+
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/chrono.h>
18+
#else
19+
#include <fmt/chrono.h>
20+
#endif

0 commit comments

Comments
 (0)