diff --git a/source/native-plugins/_data.cpp b/source/native-plugins/_data.cpp index b13881b88..52c1d200d 100644 --- a/source/native-plugins/_data.cpp +++ b/source/native-plugins/_data.cpp @@ -389,7 +389,7 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = { }, { /* category */ NATIVE_PLUGIN_CATEGORY_DELAY, -#if defined(HAVE_DGL) && ! defined(CARLA_OS_WIN) +#ifdef HAVE_DGL /* hints */ static_cast(NATIVE_PLUGIN_IS_RTSAFE |NATIVE_PLUGIN_HAS_UI |NATIVE_PLUGIN_NEEDS_UI_MAIN_THREAD diff --git a/source/native-plugins/distrho-mverb.cpp b/source/native-plugins/distrho-mverb.cpp index fc15b782c..ccf74d734 100644 --- a/source/native-plugins/distrho-mverb.cpp +++ b/source/native-plugins/distrho-mverb.cpp @@ -19,7 +19,7 @@ #include "CarlaDefines.h" #include "distrho-mverb/DistrhoPluginInfo.h" -#if DISTRHO_PLUGIN_HAS_UI && (defined(CARLA_OS_WIN) || ! defined(HAVE_DGL)) +#if DISTRHO_PLUGIN_HAS_UI && ! defined(HAVE_DGL) # undef DISTRHO_PLUGIN_HAS_UI # define DISTRHO_PLUGIN_HAS_UI 0 #endif