From bcefe7e892ecc8c02eeb86844dc0b47595d1f848 Mon Sep 17 00:00:00 2001 From: Tom Poole Date: Wed, 21 Dec 2022 22:20:06 +0000 Subject: [PATCH] Add some missing JUCE_BSD guards --- modules/juce_audio_plugin_client/LV2/juce_LV2_Client.cpp | 2 +- modules/juce_audio_processors/juce_audio_processors.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_audio_plugin_client/LV2/juce_LV2_Client.cpp b/modules/juce_audio_plugin_client/LV2/juce_LV2_Client.cpp index 333986bdda..778c5c6a6d 100644 --- a/modules/juce_audio_plugin_client/LV2/juce_LV2_Client.cpp +++ b/modules/juce_audio_plugin_client/LV2/juce_LV2_Client.cpp @@ -867,7 +867,7 @@ private: #define JUCE_LV2_UI_KIND "CocoaUI" #elif JUCE_WINDOWS #define JUCE_LV2_UI_KIND "WindowsUI" - #elif JUCE_LINUX + #elif JUCE_LINUX || JUCE_BSD #define JUCE_LV2_UI_KIND "X11UI" #else #error "LV2 UI is unsupported on this platform" diff --git a/modules/juce_audio_processors/juce_audio_processors.cpp b/modules/juce_audio_processors/juce_audio_processors.cpp index ede5fbf954..8bbc3a36d1 100644 --- a/modules/juce_audio_processors/juce_audio_processors.cpp +++ b/modules/juce_audio_processors/juce_audio_processors.cpp @@ -61,7 +61,7 @@ namespace juce { -#if JUCE_PLUGINHOST_VST || (JUCE_PLUGINHOST_LADSPA && JUCE_LINUX) +#if JUCE_PLUGINHOST_VST || (JUCE_PLUGINHOST_LADSPA && (JUCE_LINUX || JUCE_BSD)) static bool arrayContainsPlugin (const OwnedArray& list, const PluginDescription& desc)