diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-05-24 16:51:10 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-05-24 16:51:10 -0400 |
commit | 77b5c8e627c2b4d630417140fe193eb6f665a9b5 (patch) | |
tree | 0f07084c07a28e2bb047970d39504893312ad06d | |
parent | ad39e7059ec7aa7d1667da1324f242c797789403 (diff) |
only warn about missing dbus support on linux
-rw-r--r-- | Assistant/Threads/MountWatcher.hs | 2 |
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" $ |