From 1d6222f58ff6b3c50557343fa5290ffcac49bdb7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 11 Mar 2011 07:00:50 +0000 Subject: 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 --- lvz/wrapper.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 #include "audioeffectx.h" -- cgit v1.2.1