only warn about no dbus when building on linux

This commit is contained in:
Joey Hess 2014-02-25 14:49:27 -04:00
parent 3f6e4b8c7c
commit e1cf4e5e4e

View file

@ -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