aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-11 07:00:50 +0000
committerDavid Robillard <d@drobilla.net>2011-03-11 07:00:50 +0000
commit1d6222f58ff6b3c50557343fa5290ffcac49bdb7 (patch)
treef25908a2f56bd6561906221205066e87651dc01b
parentb3d42ec9ca724386b067e62a45fc35fa3a568292 (diff)
downloadmda.lv2-1d6222f58ff6b3c50557343fa5290ffcac49bdb7.tar.gz
mda.lv2-1d6222f58ff6b3c50557343fa5290ffcac49bdb7.tar.bz2
mda.lv2-1d6222f58ff6b3c50557343fa5290ffcac49bdb7.zip
Fail compilation with a warning if PLUGIN_HEADER is not defined.
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/mdala.lv2@3071 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--lvz/wrapper.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lvz/wrapper.cpp b/lvz/wrapper.cpp
index d7cb5be..7941f4a 100644
--- a/lvz/wrapper.cpp
+++ b/lvz/wrapper.cpp
@@ -25,6 +25,9 @@
#ifndef PLUGIN_URI_SUFFIX
#error "This file requires PLUGIN_URI_SUFFIX to be defined"
#endif
+#ifndef PLUGIN_HEADER
+#error "This file requires PLUGIN_HEADER to be defined"
+#endif
#include <stdlib.h>
#include "audioeffectx.h"