Build _dbus_string_starts_with_c_str even if not building tests

It's used by the own_prefix implementation.
This commit is contained in:
Simon McVittie 2012-03-27 17:19:44 +01:00
parent a183a33fb5
commit d891d816d7

View file

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