Fix #264 Compilation with disabled CC_CLIENT and CC_SERVER compiles with CC

This commit is contained in:
Ben Gräf 2019-09-02 22:28:08 +02:00
parent 1602a2e31b
commit b395fe94f6

View file

@ -184,7 +184,7 @@ int xmrig::Base::init()
return 1; return 1;
} }
#ifndef XMRIG_NO_CC #ifdef XMRIG_FEATURE_CC_CLIENT
if (!d_ptr->config->isDaemonized()) { if (!d_ptr->config->isDaemonized()) {
LOG_EMERG(APP_ID " is compiled with CC support, please start the daemon instead.\n"); LOG_EMERG(APP_ID " is compiled with CC support, please start the daemon instead.\n");