fix(Core/Worldserver): correct macros platform (#16640)

This commit is contained in:
Angelo Venturini
2023-06-28 06:50:32 -03:00
committed by GitHub
parent a779cca9e3
commit 8830bd499e

View File

@@ -768,7 +768,7 @@ variables_map GetConsoleArguments(int argc, char** argv, fs::path& configFile, [
("dry-run,d", "Dry run")
("config,c", value<fs::path>(&configFile)->default_value(fs::path(sConfigMgr->GetConfigPath() + std::string(_ACORE_CORE_CONFIG))), "use <arg> as configuration file");
#if AC_PLATFORM == WARHEAD_PLATFORM_WINDOWS
#if AC_PLATFORM == AC_PLATFORM_WINDOWS
options_description win("Windows platform specific options");
win.add_options()
("service,s", value<std::string>(&configService)->default_value(""), "Windows service options: [install | uninstall]");