-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleans up os_daemon() in Windows case.
This provides an always-failing os_daemon() for platforms (e.g., Windows) that can't provide a real daemon() call. This is more consistent than simply omitting the function. It also bases the condition on the lack of fork(), rather than the presence of winsock2.h. TESTED: Ran "scons build-all check" on OSX, Linux, FreeBSD, OpenBSD, and NetBSD. Verified that HAVE_FORK is set in all cases.
- Loading branch information
Showing
2 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters