diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-01-13 16:30:54 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-01-21 21:16:45 +0400 |
commit | a58d46b78957de03119dd54ab1a8346ff850abdb (patch) | |
tree | 47f1c81ab7749a7400f0799100d5ffa4ee04e70a /bus | |
parent | 2a5f1cfda7351f8c96dc1cab89cc030e1f28a00e (diff) | |
download | dbus-a58d46b78957de03119dd54ab1a8346ff850abdb.tar.gz |
bus/signal: fix compilation when only -Dembedded-tests
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'bus')
-rw-r--r-- | bus/signals.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bus/signals.c b/bus/signals.c index 2af5039b..d7314878 100644 --- a/bus/signals.c +++ b/bus/signals.c @@ -122,7 +122,7 @@ bus_match_rule_unref (BusMatchRule *rule) } } -#if defined(DBUS_ENABLE_VERBOSE_MODE) || defined(DBUS_ENABLE_STATS) +#if defined(DBUS_ENABLE_VERBOSE_MODE) || defined(DBUS_ENABLE_STATS) || defined(DBUS_ENABLE_EMBEDDED_TESTS) static dbus_bool_t append_key_and_escaped_value (DBusString *str, const char *token, const char *value) { @@ -312,7 +312,7 @@ match_rule_to_string (BusMatchRule *rule) _dbus_string_free (&str); return NULL; } -#endif /* defined(DBUS_ENABLE_VERBOSE_MODE) || defined(DBUS_ENABLE_STATS) */ +#endif /* defined(DBUS_ENABLE_VERBOSE_MODE) || defined(DBUS_ENABLE_STATS) || defined(DBUS_ENABLE_EMBEDDED_TESTS) */ dbus_bool_t bus_match_rule_set_message_type (BusMatchRule *rule, |