From a9015f6c99f42f2ceb0c1b136f5ed9509c838a6b Mon Sep 17 00:00:00 2001 From: renbin Date: Tue, 10 Oct 2023 16:11:21 +0800 Subject: [PATCH] fix: Build macro check error. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复兼容编译宏判断错误 Log: 修复兼容编译宏判断错误 --- src/main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/main.cpp b/src/main/main.cpp index bf814e639..9105d962b 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -43,7 +43,7 @@ int main(int argc, char *argv[]) DApplicationSettings set(&app); // 系统日志 -#if !(DTK_VERSION >= DTK_VERSION_CHECK(5,6,5,0)) +#if (DTK_VERSION >= DTK_VERSION_CHECK(5,6,5,0)) DLogManager::registerJournalAppender(); #ifdef QT_DEBUG DLogManager::registerConsoleAppender();