summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/NodeFactory.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-09-16 23:11:31 +0000
committerDavid Robillard <d@drobilla.net>2006-09-16 23:11:31 +0000
commitd6f735d9509af6d0d9c79bda10d7c5e6cbc10562 (patch)
treeca0ef3d88a0cc54aeb90ea1be69114e8e2eaa0ec /src/libs/engine/NodeFactory.cpp
parentfb32a8540d56276a97878c0ae246a11ac23af753 (diff)
downloadingen-d6f735d9509af6d0d9c79bda10d7c5e6cbc10562.tar.gz
ingen-d6f735d9509af6d0d9c79bda10d7c5e6cbc10562.tar.bz2
ingen-d6f735d9509af6d0d9c79bda10d7c5e6cbc10562.zip
Fixes for building w/o DSSI.
git-svn-id: http://svn.drobilla.net/lad/ingen@139 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/NodeFactory.cpp')
-rw-r--r--src/libs/engine/NodeFactory.cpp14
1 files changed, 7 insertions, 7 deletions
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.
*/