mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
ensure SPDLOG_FMT_EXTERNAL is honored throughout whole codebase
This commit is contained in:
parent
a5f4139102
commit
42c36f48ed
@ -9,7 +9,12 @@
|
|||||||
#include "spdlog/spdlog.h"
|
#include "spdlog/spdlog.h"
|
||||||
#include "spdlog/async.h"
|
#include "spdlog/async.h"
|
||||||
#include "spdlog/sinks/basic_file_sink.h"
|
#include "spdlog/sinks/basic_file_sink.h"
|
||||||
|
|
||||||
|
#ifdef SPDLOG_FMT_EXTERNAL
|
||||||
|
#include <fmt/locale.h>
|
||||||
|
#else
|
||||||
#include "spdlog/fmt/bundled/locale.h"
|
#include "spdlog/fmt/bundled/locale.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
@ -11,7 +11,12 @@
|
|||||||
#include "spdlog/sinks/daily_file_sink.h"
|
#include "spdlog/sinks/daily_file_sink.h"
|
||||||
#include "spdlog/sinks/null_sink.h"
|
#include "spdlog/sinks/null_sink.h"
|
||||||
#include "spdlog/sinks/rotating_file_sink.h"
|
#include "spdlog/sinks/rotating_file_sink.h"
|
||||||
|
|
||||||
|
#ifdef SPDLOG_FMT_EXTERNAL
|
||||||
|
#include <fmt/locale.h>
|
||||||
|
#else
|
||||||
#include "spdlog/fmt/bundled/locale.h"
|
#include "spdlog/fmt/bundled/locale.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
Loading…
Reference in New Issue
Block a user