Don't build any of the reload-pipe code on non-Unix
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 11 Aug 2011 10:02:40 +0000 (11:02 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 26 Aug 2011 14:02:30 +0000 (15:02 +0100)
commit2f183ac576c77fe50899db868e7c545ee31b510f
tree322a1af2144d51f10d19221ba74a2def4f1e51fe
parent8c2ab410fb0e94bca5d82e50b13cb93661698e69
Don't build any of the reload-pipe code on non-Unix

In commit ab7b3f9, Ralf notes that handle_reload_watch() is (in principle)
cross-platform. However, there's no way to trigger it on Windows, because
nothing ever writes to the pipe. Make the entire pipe-to-self trick
Unix-specific instead.

Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40002
bus/main.c