From e1cf4e5e4e0ec23a2507269518edc2e2f174f5f2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 25 Feb 2014 14:49:27 -0400 Subject: [PATCH] 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 a7124fa01c..0b009647c1 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