Update fmt.h

This commit is contained in:
Gabi Melman 2023-10-02 20:20:44 +03:00 committed by GitHub
parent 7ba9a04fae
commit b1b6a22955
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,12 +10,12 @@
// By default, spdlog include its own copy.
//
#if defined(SPDLOG_USE_STD_FORMAT) // SPDLOG_USE_STD_FORMAT is defined - use std::format
#if defined(SPDLOG_USE_STD_FORMAT) // use std::format
#include <format>
#elif !defined(SPDLOG_FMT_EXTERNAL)
#include "bundled/core.h"
#include "bundled/format.h"
#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
#elif defined(SPDLOG_FMT_EXTERNAL) // use external {fmt} lib
#include <fmt/core.h>
#include <fmt/format.h>
#else // use bundled {fmt} lib
#include "bundled/core.h"
#include "bundled/format.h"
#endif