From 72cd1b51a3131cb8e4d298bfe9a605c7082ae406 Mon Sep 17 00:00:00 2001 From: Alejandro Saucedo Date: Tue, 3 Nov 2020 21:41:19 +0000 Subject: [PATCH] Minor refactor on spdlog_active_level macro --- single_include/kompute/Kompute.hpp | 2 +- src/include/kompute/Core.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/single_include/kompute/Kompute.hpp b/single_include/kompute/Kompute.hpp index 3ae98b483..9674d44c4 100755 --- a/single_include/kompute/Kompute.hpp +++ b/single_include/kompute/Kompute.hpp @@ -24,7 +24,7 @@ static const char* KOMPUTE_LOG_TAG = "KomputeLog"; #endif // KOMPUTE_VK_API_VERSION // SPDLOG_ACTIVE_LEVEL must be defined before spdlog.h import -#if !defined(SPDLOG_ACTIVE_LEVEL) +#ifndef SPDLOG_ACTIVE_LEVEL #if DEBUG #define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_DEBUG #else diff --git a/src/include/kompute/Core.hpp b/src/include/kompute/Core.hpp index 72ffa5346..73d6bc88e 100644 --- a/src/include/kompute/Core.hpp +++ b/src/include/kompute/Core.hpp @@ -24,7 +24,7 @@ static const char* KOMPUTE_LOG_TAG = "KomputeLog"; #endif // KOMPUTE_VK_API_VERSION // SPDLOG_ACTIVE_LEVEL must be defined before spdlog.h import -#if !defined(SPDLOG_ACTIVE_LEVEL) +#ifndef SPDLOG_ACTIVE_LEVEL #if DEBUG #define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_DEBUG #else