mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-24 06:32:06 +08:00
Fixed (maybe) #1348
This commit is contained in:
parent
c44cf5a720
commit
ab178057db
@ -26,8 +26,9 @@
|
|||||||
#ifndef FMT_USE_WINDOWS_H
|
#ifndef FMT_USE_WINDOWS_H
|
||||||
#define FMT_USE_WINDOWS_H 0
|
#define FMT_USE_WINDOWS_H 0
|
||||||
#endif
|
#endif
|
||||||
#include "bundled/core.h"
|
|
||||||
#include "bundled/format.h"
|
#include <spdlog/fmt/bundled/core.h>
|
||||||
|
#include <spdlog/fmt/bundled/format.h>
|
||||||
#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
|
#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
|
||||||
#include <fmt/core.h>
|
#include <fmt/core.h>
|
||||||
#include <fmt/format.h>
|
#include <fmt/format.h>
|
||||||
|
@ -7,12 +7,14 @@
|
|||||||
//
|
//
|
||||||
// include bundled or external copy of fmtlib's ostream support
|
// include bundled or external copy of fmtlib's ostream support
|
||||||
//
|
//
|
||||||
|
|
||||||
#if !defined(SPDLOG_FMT_EXTERNAL)
|
#if !defined(SPDLOG_FMT_EXTERNAL)
|
||||||
|
#ifdef SPDLOG_HEADER_ONLY
|
||||||
#ifndef FMT_HEADER_ONLY
|
#ifndef FMT_HEADER_ONLY
|
||||||
#define FMT_HEADER_ONLY
|
#define FMT_HEADER_ONLY
|
||||||
#endif
|
#endif
|
||||||
#include "bundled/ostream.h"
|
#endif
|
||||||
#include "fmt.h"
|
#include <spdlog/fmt/bundled/ostream.h>
|
||||||
#else
|
#else
|
||||||
#include <fmt/ostream.h>
|
#include <fmt/ostream.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user