#ifdef WIN32 if (sConfig.GetBoolDefault("Console.Enable", 1)) { // this only way to terminate CLI thread exist at Win32 (alt. way exist only in Windows Vista API) _exit(1); } #endif