From 7cdfa61f3e06cd5289447bcd6a414709af445ae8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 25 Feb 2014 14:49:27 -0400 Subject: only warn about no dbus when building on linux --- Assistant/Threads/NetWatcher.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assistant/Threads/NetWatcher.hs b/Assistant/Threads/NetWatcher.hs index a7124fa01..0b009647c 100644 --- a/Assistant/Threads/NetWatcher.hs +++ b/Assistant/Threads/NetWatcher.hs @@ -24,8 +24,10 @@ import DBus import Data.Word (Word32) import Assistant.NetMessager #else +#ifdef linux_HOST_OS #warning Building without dbus support; will poll for network connection changes #endif +#endif netWatcherThread :: NamedThread #if WITH_DBUS -- cgit v1.2.3