spdlog/include/spdlog/fmt/fmt.h

29 lines
496 B
C
Raw Normal View History

2016-07-22 23:06:36 +08:00
//
// Copyright(c) 2016 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once
//
// Include a bundled header-only copy of fmtlib or an external one.
// By default spdlog include its own copy.
2016-07-23 01:19:26 +08:00
//
2016-07-22 23:06:36 +08:00
2016-07-23 01:19:26 +08:00
#if !defined(SPDLOG_FMT_EXTERNAL)
2016-07-22 23:06:36 +08:00
#ifndef FMT_HEADER_ONLY
#define FMT_HEADER_ONLY
#endif
2016-07-23 01:19:26 +08:00
#ifndef FMT_USE_WINDOWS_H
2016-07-22 23:06:36 +08:00
#define FMT_USE_WINDOWS_H 0
2016-07-23 01:19:26 +08:00
#endif
2017-05-21 17:44:44 +08:00
#include "spdlog/fmt/bundled/format.h"
2016-07-22 23:06:36 +08:00
#else //external fmtlib
#include <fmt/format.h>
2016-07-23 01:19:26 +08:00
#endif
2016-07-22 23:06:36 +08:00