From 09f528c24c352af6060fc0df10eea385f72cfcf1 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 20 Mar 2016 03:10:05 -0500 Subject: [PATCH] ircd: win32 does not need the FD 0,1,2 stuff --- ircd/ircd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ircd/ircd.c b/ircd/ircd.c index 3997a3a8..4634f141 100644 --- a/ircd/ircd.c +++ b/ircd/ircd.c @@ -616,6 +616,7 @@ charybdis_main(int argc, char *argv[]) if (testing_conf) server_state_foreground = true; +#ifndef _WIN32 /* Make sure fd 0, 1 and 2 are in use -- jilles */ do { @@ -625,6 +626,7 @@ charybdis_main(int argc, char *argv[]) close(fd); else if (fd == -1) exit(1); +#endif /* Check if there is pidfile and daemon already running */ if(!testing_conf)