Commit d891d816 authored by Simon McVittie's avatar Simon McVittie

Build _dbus_string_starts_with_c_str even if not building tests

It's used by the own_prefix implementation.
parent a183a33f
......@@ -2182,7 +2182,6 @@ _dbus_string_equal_c_str (const DBusString *a,
return TRUE;
}
#ifdef DBUS_BUILD_TESTS
/**
* Checks whether a string starts with the given C string.
*
......@@ -2218,7 +2217,6 @@ _dbus_string_starts_with_c_str (const DBusString *a,
else
return FALSE;
}
#endif /* DBUS_BUILD_TESTS */
/**
* Appends a two-character hex digit to a string, where the hex digit
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment