From b395fe94f6baa5bdda0ca197e56cae3a878e9cb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ben=20Gr=C3=A4f?= Date: Mon, 2 Sep 2019 22:28:08 +0200 Subject: [PATCH] Fix #264 Compilation with disabled CC_CLIENT and CC_SERVER compiles with CC --- src/base/kernel/Base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/kernel/Base.cpp b/src/base/kernel/Base.cpp index f7acb2ff..2057cff1 100644 --- a/src/base/kernel/Base.cpp +++ b/src/base/kernel/Base.cpp @@ -184,7 +184,7 @@ int xmrig::Base::init() return 1; } -#ifndef XMRIG_NO_CC +#ifdef XMRIG_FEATURE_CC_CLIENT if (!d_ptr->config->isDaemonized()) { LOG_EMERG(APP_ID " is compiled with CC support, please start the daemon instead.\n");