Files
spdlog/include/spdlog/fmt/fmt.h

25 lines
631 B
C
Raw Normal View History

2016-07-22 18:06:36 +03:00
//
2018-06-12 18:48:22 +03:00
// Copyright(c) 2016-2018 Gabi Melman.
2016-07-22 18:06:36 +03:00
// 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-22 20:19:26 +03:00
//
2016-07-22 18:06:36 +03:00
2016-07-22 20:19:26 +03:00
#if !defined(SPDLOG_FMT_EXTERNAL)
2020-04-04 17:13:03 +03:00
#if !defined(SPDLOG_COMPILED_LIB) && !defined(FMT_HEADER_ONLY)
2016-07-22 18:06:36 +03:00
#define FMT_HEADER_ONLY
#endif
2016-07-22 20:19:26 +03:00
#ifndef FMT_USE_WINDOWS_H
2016-07-22 18:06:36 +03:00
#define FMT_USE_WINDOWS_H 0
2016-07-22 20:19:26 +03:00
#endif
2019-12-10 03:00:06 +02:00
#include <spdlog/fmt/bundled/core.h>
#include <spdlog/fmt/bundled/format.h>
#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
#include <fmt/core.h>
#include <fmt/format.h>
2019-12-12 23:50:30 +02:00
#endif