aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/bnetserver/Main.cpp2
-rw-r--r--src/server/worldserver/Main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/bnetserver/Main.cpp b/src/server/bnetserver/Main.cpp
index c5c10aa3b4c..c367a1f7d40 100644
--- a/src/server/bnetserver/Main.cpp
+++ b/src/server/bnetserver/Main.cpp
@@ -85,7 +85,7 @@ LoginDatabaseWorkerPool LoginDatabase;
int main(int argc, char** argv)
{
- std::signal(SIGABRT, &Trinity::AbortHandler);
+ signal(SIGABRT, &Trinity::AbortHandler);
std::string configFile = _TRINITY_BNET_CONFIG;
std::string configService;
diff --git a/src/server/worldserver/Main.cpp b/src/server/worldserver/Main.cpp
index 7bae72dca99..906937e974b 100644
--- a/src/server/worldserver/Main.cpp
+++ b/src/server/worldserver/Main.cpp
@@ -101,7 +101,7 @@ variables_map GetConsoleArguments(int argc, char** argv, std::string& cfg_file,
/// Launch the Trinity server
extern int main(int argc, char** argv)
{
- std::signal(SIGABRT, &Trinity::AbortHandler);
+ signal(SIGABRT, &Trinity::AbortHandler);
std::string configFile = _TRINITY_CORE_CONFIG;
std::string configService;