Define FMT_USE_INTERNAL for fmt 7.0.0

fmt 7.0.0 renamed the internal namespace to detail. The former is still provided as an alias if the FMT_USE_INTERNAL macro is defined.

See: https://github.com/fmtlib/fmt/issues/1538
pull/1605/head
Craig Andrews 5 years ago committed by GitHub
parent 39150eb8c7
commit 7212aa4144
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,6 +5,10 @@
#pragma once #pragma once
// fmt 7.0.0 renamed the internal namespace to detail
// The former is still provided as an alias if the FMT_USE_INTERNAL macro is defined.
#define FMT_USE_INTERNAL
// //
// Include a bundled header-only copy of fmtlib or an external one. // Include a bundled header-only copy of fmtlib or an external one.
// By default spdlog include its own copy. // By default spdlog include its own copy.

Loading…
Cancel
Save