Always include <version> if available

Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
pull/2973/head
Stephan Lachnit 2 years ago
parent 1ef8d3ce34
commit ce6d21c36d
No known key found for this signature in database
GPG Key ID: B35B49EA5D563EFE

@ -16,8 +16,13 @@
#include <string>
#include <type_traits>
#ifdef __has_include
#if __has_include(<version>)
#include <version>
#endif
#endif
#ifdef SPDLOG_USE_STD_FORMAT
#include <version>
#if __cpp_lib_format >= 202207L
#include <format>
#else

Loading…
Cancel
Save