aboutsummaryrefslogtreecommitdiff
path: root/Assistant
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-05-24 16:51:10 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-05-24 16:51:10 -0400
commit77b5c8e627c2b4d630417140fe193eb6f665a9b5 (patch)
tree0f07084c07a28e2bb047970d39504893312ad06d /Assistant
parentad39e7059ec7aa7d1667da1324f242c797789403 (diff)
only warn about missing dbus support on linux
Diffstat (limited to 'Assistant')
-rw-r--r--Assistant/Threads/MountWatcher.hs2
1 files changed, 2 insertions, 0 deletions
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" $