ircd: win32 does not need the FD 0,1,2 stuff

This commit is contained in:
William Pitcock 2016-03-20 03:10:05 -05:00
parent c1bfea7332
commit 09f528c24c

View file

@ -616,6 +616,7 @@ charybdis_main(int argc, char *argv[])
if (testing_conf) if (testing_conf)
server_state_foreground = true; server_state_foreground = true;
#ifndef _WIN32
/* Make sure fd 0, 1 and 2 are in use -- jilles */ /* Make sure fd 0, 1 and 2 are in use -- jilles */
do do
{ {
@ -625,6 +626,7 @@ charybdis_main(int argc, char *argv[])
close(fd); close(fd);
else if (fd == -1) else if (fd == -1)
exit(1); exit(1);
#endif
/* Check if there is pidfile and daemon already running */ /* Check if there is pidfile and daemon already running */
if(!testing_conf) if(!testing_conf)