check SPDLOG_SOURCE_LOCATION in macros and in runtime

This commit is contained in:
gabime
2023-09-23 02:02:50 +03:00
parent ea1c829764
commit 7c0afada60
5 changed files with 11 additions and 13 deletions

View File

@@ -1,8 +1,8 @@
#define SPDLOG_EMIT_SOURCE_LOCATION
#define SPDLOG_SOURCE_LOCATION
#include "includes.h"
#include "test_sink.h"
#if defined(SPDLOG_STD_SOURCE_LOCATION) || defined(SPDLOG_EXPERIMENTAL_SOURCE_LOCATION)
#if defined(SPDLOG_HAVE_STD_SOURCE_LOCATION) || defined(SPDLOG_HAVE_EXPERIMENTAL_SOURCE_LOCATION)
using spdlog::details::os::default_eol;