From f54505942ce2dcc73fcbad79d4f5cdce991bf8cb Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 8 Dec 2017 10:40:44 +0000 Subject: Make the datetime indicator build on non-Ubuntu systems (which mostly lack url-dispatcher and Ubuntu Touch sound schema files. --- tests/timedated-fixture.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/timedated-fixture.h') diff --git a/tests/timedated-fixture.h b/tests/timedated-fixture.h index 00269e0..07b3d9f 100644 --- a/tests/timedated-fixture.h +++ b/tests/timedated-fixture.h @@ -36,7 +36,9 @@ public: ~MockLiveActions() {} protected: +#ifdef HAS_URLDISPATCHER void dispatch_url(const std::string& url) override { last_url = url; } +#endif void execute_command(const std::string& cmd) override { last_cmd = cmd; } }; -- cgit v1.2.3