summaryrefslogtreecommitdiffstats
path: root/src/engine/NodeFactory.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-29 03:23:26 +0000
committerDavid Robillard <d@drobilla.net>2008-11-29 03:23:26 +0000
commit9f1ff36d40f916c253cebb1e9f336af53ce31f5d (patch)
tree4f38cadd45de64b44e6ce209709b3350673a7db4 /src/engine/NodeFactory.cpp
parentce6cec92071bcf7b247daa3128e39f7fb9f3200b (diff)
downloadingen-9f1ff36d40f916c253cebb1e9f336af53ce31f5d.tar.gz
ingen-9f1ff36d40f916c253cebb1e9f336af53ce31f5d.tar.bz2
ingen-9f1ff36d40f916c253cebb1e9f336af53ce31f5d.zip
Upgrade to waf 1.5.0.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1823 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/NodeFactory.cpp')
-rw-r--r--src/engine/NodeFactory.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/NodeFactory.cpp b/src/engine/NodeFactory.cpp
index 7e5375c2..8031e27b 100644
--- a/src/engine/NodeFactory.cpp
+++ b/src/engine/NodeFactory.cpp
@@ -31,7 +31,7 @@
#include "InternalTransport.hpp"
#include "PatchImpl.hpp"
#include "InternalPlugin.hpp"
-#ifdef HAVE_LADSPA
+#ifdef HAVE_LADSPA_H
#include "LADSPANode.hpp"
#include "LADSPAPlugin.hpp"
#endif
@@ -84,7 +84,7 @@ NodeFactory::plugin(const string& type, const string& lib, const string& label)
if (type != "LADSPA" || lib == "" || label == "")
return NULL;
-#ifdef HAVE_LADSPA
+#ifdef HAVE_LADSPA_H
for (Plugins::const_iterator i = _plugins.begin(); i != _plugins.end(); ++i) {
LADSPAPlugin* lp = dynamic_cast<LADSPAPlugin*>(i->second);
if (lp && lp->library_name() == lib
@@ -118,7 +118,7 @@ NodeFactory::load_plugins()
load_lv2_plugins();
#endif
-#ifdef HAVE_LADSPA
+#ifdef HAVE_LADSPA_H
load_ladspa_plugins();
#endif
@@ -189,7 +189,7 @@ NodeFactory::load_lv2_plugins()
#endif // HAVE_SLV2
-#ifdef HAVE_LADSPA
+#ifdef HAVE_LADSPA_H
/** Loads information about all LADSPA plugins into internal plugin database.
*/
void
@@ -281,7 +281,7 @@ NodeFactory::load_ladspa_plugins()
closedir(pdir);
}
}
-#endif // HAVE_LADSPA
+#endif // HAVE_LADSPA_H
} // namespace Ingen