mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:35:06 -05:00
drop WINNT-specific code
This was never really supported and it would probably require a lot of work to get a usable chronyd in Cygwin. Remove all WINNT-specific code.
This commit is contained in:
7
main.c
7
main.c
@@ -275,11 +275,6 @@ write_lockfile(void)
|
||||
static void
|
||||
go_daemon(void)
|
||||
{
|
||||
#ifdef WINNT
|
||||
|
||||
|
||||
#else
|
||||
|
||||
int pid, fd, pipefd[2];
|
||||
|
||||
/* Create pipe which will the daemon use to notify the grandparent
|
||||
@@ -338,8 +333,6 @@ go_daemon(void)
|
||||
LOG_SetParentFd(pipefd[1]);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
Reference in New Issue
Block a user