mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-09 08:17:56 +00:00
fix(Core/Worldserver): correct macros platform (#16640)
This commit is contained in:
@@ -768,7 +768,7 @@ variables_map GetConsoleArguments(int argc, char** argv, fs::path& configFile, [
|
|||||||
("dry-run,d", "Dry run")
|
("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");
|
("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");
|
options_description win("Windows platform specific options");
|
||||||
win.add_options()
|
win.add_options()
|
||||||
("service,s", value<std::string>(&configService)->default_value(""), "Windows service options: [install | uninstall]");
|
("service,s", value<std::string>(&configService)->default_value(""), "Windows service options: [install | uninstall]");
|
||||||
|
|||||||
Reference in New Issue
Block a user