Moved printf include to fmt.h
This commit is contained in:
parent
ee525f9bef
commit
e8b7f4194a
@ -8,14 +8,6 @@
|
|||||||
#include "spdlog/logger.h"
|
#include "spdlog/logger.h"
|
||||||
#include "spdlog/sinks/stdout_sinks.h"
|
#include "spdlog/sinks/stdout_sinks.h"
|
||||||
|
|
||||||
#if defined(SPDLOG_FMT_PRINTF)
|
|
||||||
#if !defined(SPDLOG_FMT_EXTERNAL)
|
|
||||||
#include "spdlog/fmt/bundled/printf.h"
|
|
||||||
#else //external fmtlib
|
|
||||||
#include <fmt/printf.h>
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
@ -19,10 +19,16 @@
|
|||||||
#define FMT_USE_WINDOWS_H 0
|
#define FMT_USE_WINDOWS_H 0
|
||||||
#endif
|
#endif
|
||||||
#include "spdlog/fmt/bundled/format.h"
|
#include "spdlog/fmt/bundled/format.h"
|
||||||
|
#if defined(SPDLOG_FMT_PRINTF)
|
||||||
|
#include "spdlog/fmt/bundled/printf.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#else //external fmtlib
|
#else //external fmtlib
|
||||||
|
|
||||||
#include <fmt/format.h>
|
#include <fmt/format.h>
|
||||||
|
#if defined(SPDLOG_FMT_PRINTF)
|
||||||
|
#include <fmt/printf.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user