summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorcertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-03-23 13:06:24 +0000
committercertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-03-23 13:06:24 +0000
commit660e2e9e8adabebb9a017ce113421a44f2c965fb (patch)
tree50ae49bd37138ab4948b1803d9dd9fe2fa6730b6 /src/main.c
parentc14bdc3d690a9d912239d6412fa7c269c4fe2c31 (diff)
# BUILD : 1.7.13 (1019) # BUGS 390 : # NOTES : fixed some obsolete defines. hopefully :P
git-svn-id: svn://svn.anope.org/anope/trunk@1019 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@744 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 06c4bb550..104702f7f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -220,7 +220,7 @@ static void services_restart(void)
anope_cmd_squit(ServerName, quitmsg);
disconn(servsock);
close_log();
-#if defined(LINUX20) || defined(LINUX22)
+#ifndef _WIN32
pthread_kill_other_threads_np();
#endif
modules_unload_all(true);
@@ -424,7 +424,7 @@ void sighandler(int signum)
}
if (
-#if (!defined(USE_THREADS) || !defined(LINUX20)) && !defined(_WIN32)
+#ifndef _WIN32
signum == SIGUSR1 ||
#endif
!(quitmsg = calloc(BUFSIZE, 1))) {
@@ -606,7 +606,7 @@ int main(int ac, char **av, char **envp)
anope_cmd_squit(ServerName, quitmsg);
disconn(servsock);
close_log();
-#if defined(LINUX20) || defined(LINUX22)
+#ifndef _WIN32
pthread_kill_other_threads_np();
#endif
execve(SERVICES_BIN, av, envp);