From 77b5c8e627c2b4d630417140fe193eb6f665a9b5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 24 May 2016 16:51:10 -0400 Subject: only warn about missing dbus support on linux --- Assistant/Threads/MountWatcher.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Assistant') diff --git a/Assistant/Threads/MountWatcher.hs b/Assistant/Threads/MountWatcher.hs index dd45598f8..a741b731d 100644 --- a/Assistant/Threads/MountWatcher.hs +++ b/Assistant/Threads/MountWatcher.hs @@ -32,8 +32,10 @@ import Data.Word (Word32) import Control.Concurrent import qualified Control.Exception as E #else +#ifdef linux_HOST_OS #warning Building without dbus support; will use mtab polling #endif +#endif mountWatcherThread :: UrlRenderer -> NamedThread mountWatcherThread urlrenderer = namedThread "MountWatcher" $ -- cgit v1.2.3