From 5f0d913a59121007b08fa21d0454b90906a8680d Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 14 Apr 2023 11:33:31 +0200 Subject: [PATCH] Allow to skip error with DISTRHO_PLUGIN_WANT_FULL_STATE_WITH_LADSPA Signed-off-by: falkTX --- distrho/src/DistrhoPluginLADSPA+DSSI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distrho/src/DistrhoPluginLADSPA+DSSI.cpp b/distrho/src/DistrhoPluginLADSPA+DSSI.cpp index 56c7baf5..ac1b5999 100644 --- a/distrho/src/DistrhoPluginLADSPA+DSSI.cpp +++ b/distrho/src/DistrhoPluginLADSPA+DSSI.cpp @@ -1,6 +1,6 @@ /* * DISTRHO Plugin Framework (DPF) - * Copyright (C) 2012-2021 Filipe Coelho + * Copyright (C) 2012-2023 Filipe Coelho * * Permission to use, copy, modify, and/or distribute this software for any purpose with * or without fee is hereby granted, provided that the above copyright notice and this @@ -22,7 +22,7 @@ #if DISTRHO_PLUGIN_WANT_MIDI_OUTPUT # error Cannot use MIDI Output with LADSPA or DSSI #endif -#if DISTRHO_PLUGIN_WANT_FULL_STATE +#if DISTRHO_PLUGIN_WANT_FULL_STATE && !defined(DISTRHO_PLUGIN_WANT_FULL_STATE_WITH_LADSPA) # error Cannot use full state with LADSPA or DSSI #endif