mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 02:04:52 +01:00
GCC compile fixes
This commit is contained in:
@@ -99,15 +99,14 @@ extern int main(int argc, char** argv)
|
||||
if (vm.count("help"))
|
||||
return 0;
|
||||
|
||||
if (!configService.empty())
|
||||
{
|
||||
if (configService.compare("install") == 0)
|
||||
return WinServiceInstall() == true ? 0 : 1;
|
||||
else if (configService.compare("uninstall") == 0)
|
||||
return WinServiceUninstall() == true ? 0 : 1;
|
||||
else if (configService.compare("run") == 0)
|
||||
WinServiceRun();
|
||||
}
|
||||
#ifdef _WIN32
|
||||
if (configService.compare("install") == 0)
|
||||
return WinServiceInstall() == true ? 0 : 1;
|
||||
else if (configService.compare("uninstall") == 0)
|
||||
return WinServiceUninstall() == true ? 0 : 1;
|
||||
else if (configService.compare("run") == 0)
|
||||
WinServiceRun();
|
||||
#endif
|
||||
|
||||
if (!sConfigMgr->LoadInitial(configFile))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user