prevent going through systemd/upstart code, except on Linux
authorMarc Fournier <marc.fournier@camptocamp.com>
Tue, 18 Nov 2014 08:21:42 +0000 (09:21 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Tue, 18 Nov 2014 08:59:05 +0000 (09:59 +0100)
commit543a57f8aff2fb7b5f02af685ff501130b8e0075
treef1e5c6de39d2a3496303a07e3d16efc86903cfde
parente6d70fa125ef150a1437fc558a752ddc12067945
prevent going through systemd/upstart code, except on Linux

Fixes #809 (build issue on MacOSX)

NB: in case one day upstart is used on non-Linux platforms, this could
be relaxed to only skip systemd.
src/daemon/collectd.c