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