Skip to content

Commit

Permalink
Fixed chrono wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime committed Sep 1, 2020
1 parent 2963b9f commit 4a9ccf7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions include/spdlog/fmt/chrono.h
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4a9ccf7

Please sign in to comment.