fix: ifdef

This commit is contained in:
Alexis 2018-10-25 12:24:39 +02:00
parent f3fe57dd24
commit 68d9d2c347

View File

@ -27,7 +27,7 @@ waybar::IModule* waybar::Factory::makeModule(const std::string &name) const
if (name == "clock") { if (name == "clock") {
return new waybar::modules::Clock(config_[name]); return new waybar::modules::Clock(config_[name]);
} }
#ifdef DHAVE_DBUSMENU #ifdef HAVE_DBUSMENU
if (name == "tray") { if (name == "tray") {
return new waybar::modules::SNI::Tray(config_[name]); return new waybar::modules::SNI::Tray(config_[name]);
} }