summaryrefslogtreecommitdiff
path: root/driver_nmea2000.c
diff options
context:
space:
mode:
authorFred Wright <fw@fwright.net>2017-02-19 16:14:37 -0800
committerFred Wright <fw@fwright.net>2017-02-19 18:38:21 -0800
commit9d126a4eda9c3efdd593e63adfd5d2f7dddae18c (patch)
treee456c474eee8cd05831b682de863c22db6f958ca /driver_nmea2000.c
parentbb66fc3b0987a8a9f9b2cee48be2cd195612ad40 (diff)
downloadgpsd-9d126a4eda9c3efdd593e63adfd5d2f7dddae18c.tar.gz
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.
Diffstat (limited to 'driver_nmea2000.c')
0 files changed, 0 insertions, 0 deletions