Fix compilation with old lilv.
git-svn-id: svn://localhost/ardour2/branches/3.0@11960 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
8f7fa7d93b
commit
fa471ea471
@ -790,6 +790,7 @@ get_value(LilvWorld* world, const LilvNode* subject, const LilvNode* predicate)
|
|||||||
void
|
void
|
||||||
LV2Plugin::find_presets()
|
LV2Plugin::find_presets()
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_NEW_LILV
|
||||||
LilvNode* lv2_appliesTo = lilv_new_uri(_world.world, LILV_NS_LV2 "appliesTo");
|
LilvNode* lv2_appliesTo = lilv_new_uri(_world.world, LILV_NS_LV2 "appliesTo");
|
||||||
LilvNode* pset_Preset = lilv_new_uri(_world.world, NS_PSET "Preset");
|
LilvNode* pset_Preset = lilv_new_uri(_world.world, NS_PSET "Preset");
|
||||||
LilvNode* rdfs_label = lilv_new_uri(_world.world, LILV_NS_RDFS "label");
|
LilvNode* rdfs_label = lilv_new_uri(_world.world, LILV_NS_RDFS "label");
|
||||||
@ -816,6 +817,7 @@ LV2Plugin::find_presets()
|
|||||||
lilv_node_free(rdfs_label);
|
lilv_node_free(rdfs_label);
|
||||||
lilv_node_free(pset_Preset);
|
lilv_node_free(pset_Preset);
|
||||||
lilv_node_free(lv2_appliesTo);
|
lilv_node_free(lv2_appliesTo);
|
||||||
|
#endif /* HAVE_NEW_LILV */
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
Loading…
Reference in New Issue
Block a user