2016-07-22 11:06:36 -04:00
|
|
|
//
|
2018-06-12 11:48:22 -04:00
|
|
|
// Copyright(c) 2016-2018 Gabi Melman.
|
2016-07-22 11:06:36 -04: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 13:19:26 -04:00
|
|
|
//
|
2016-07-22 11:06:36 -04:00
|
|
|
|
2016-07-22 13:19:26 -04:00
|
|
|
#if !defined(SPDLOG_FMT_EXTERNAL)
|
2019-05-11 17:22:39 -04:00
|
|
|
#ifdef SPDLOG_HEADER_ONLY
|
2016-07-22 11:06:36 -04:00
|
|
|
#ifndef FMT_HEADER_ONLY
|
|
|
|
#define FMT_HEADER_ONLY
|
|
|
|
#endif
|
2019-05-10 18:33:48 -04:00
|
|
|
#endif
|
2016-07-22 13:19:26 -04:00
|
|
|
#ifndef FMT_USE_WINDOWS_H
|
2016-07-22 11:06:36 -04:00
|
|
|
#define FMT_USE_WINDOWS_H 0
|
2016-07-22 13:19:26 -04:00
|
|
|
#endif
|
2018-06-12 11:48:22 -04:00
|
|
|
#include "bundled/core.h"
|
2017-11-11 08:06:01 -05:00
|
|
|
#include "bundled/format.h"
|
2019-05-10 18:33:48 -04:00
|
|
|
#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
|
2019-05-11 05:28:36 -04:00
|
|
|
#include "fmt/core.h"
|
|
|
|
#include "fmt/format.h"
|
2016-07-22 13:19:26 -04:00
|
|
|
#endif
|