From d6f735d9509af6d0d9c79bda10d7c5e6cbc10562 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Sep 2006 23:11:31 +0000 Subject: Fixes for building w/o DSSI. git-svn-id: http://svn.drobilla.net/lad/ingen@139 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/NodeFactory.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/libs/engine/NodeFactory.cpp') diff --git a/src/libs/engine/NodeFactory.cpp b/src/libs/engine/NodeFactory.cpp index 33b1842d..ca762678 100644 --- a/src/libs/engine/NodeFactory.cpp +++ b/src/libs/engine/NodeFactory.cpp @@ -114,13 +114,13 @@ NodeFactory::load_plugins() _plugins.clear(); _plugins = _internal_plugins; -#if HAVE_SLV2 +#ifdef HAVE_SLV2 load_lv2_plugins(); #endif -#if HAVE_DSSI +#ifdef HAVE_DSSI load_dssi_plugins(); #endif -#if HAVE_LADSPA +#ifdef HAVE_LADSPA load_ladspa_plugins(); #endif @@ -182,17 +182,17 @@ NodeFactory::load_plugin(const Plugin* a_plugin, } switch (a_plugin->type()) { -#if HAVE_SLV2 +#ifdef HAVE_SLV2 case Plugin::LV2: r = load_lv2_plugin(plugin->uri(), name, poly, parent, srate, buffer_size); break; #endif -#if HAVE_DSSI +#ifdef HAVE_DSSI case Plugin::DSSI: r = load_dssi_plugin(plugin->uri(), name, poly, parent, srate, buffer_size); break; #endif -#if HAVE_LADSPA +#ifdef HAVE_LADSPA case Plugin::LADSPA: r = load_ladspa_plugin(plugin->uri(), name, poly, parent, srate, buffer_size); break; @@ -318,7 +318,7 @@ NodeFactory::load_lv2_plugin(const string& plug_uri, #endif // HAVE_SLV2 -#if HAVE_DSSI +#ifdef HAVE_DSSI /** Loads information about all DSSI plugins into internal plugin database. */ -- cgit v1.2.1