#4323 Fix build wrt ElevateMode on non-Windows platforms

This commit is contained in:
Andrew Nelless 2016-06-10 15:43:44 +01:00 committed by Jerry (Xinyu Hou)
parent d42ea08a1d
commit e1e1199a57
1 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,6 @@
const char AppConfig::m_SynergysName[] = "synergys.exe";
const char AppConfig::m_SynergycName[] = "synergyc.exe";
const char AppConfig::m_SynergyLogDir[] = "log/";
const ElevateMode defaultElevateMode = ElevateAsNeeded;
#define DEFAULT_PROCESS_MODE Service
#else
const char AppConfig::m_SynergysName[] = "synergys";
@ -36,6 +35,8 @@ const char AppConfig::m_SynergyLogDir[] = "/var/log/";
#define DEFAULT_PROCESS_MODE Desktop
#endif
const ElevateMode defaultElevateMode = ElevateAsNeeded;
static const char* logLevelNames[] =
{
"ERROR",