Update fmt.h

pull/3028/head
Gabi Melman 2 years ago committed by GitHub
parent 7ba9a04fae
commit b1b6a22955
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,12 +10,12 @@
// By default, spdlog include its own copy. // 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> #include <format>
#elif !defined(SPDLOG_FMT_EXTERNAL) #elif defined(SPDLOG_FMT_EXTERNAL) // use external {fmt} lib
#include "bundled/core.h"
#include "bundled/format.h"
#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>
#else // use bundled {fmt} lib
#include "bundled/core.h"
#include "bundled/format.h"
#endif #endif

Loading…
Cancel
Save