summaryrefslogtreecommitdiff
path: root/distrho/src/DistrhoPluginVST.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'distrho/src/DistrhoPluginVST.cpp')
-rw-r--r--distrho/src/DistrhoPluginVST.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/distrho/src/DistrhoPluginVST.cpp b/distrho/src/DistrhoPluginVST.cpp
index bd537802..e7877506 100644
--- a/distrho/src/DistrhoPluginVST.cpp
+++ b/distrho/src/DistrhoPluginVST.cpp
@@ -405,7 +405,9 @@ public:
# ifdef __LP64__
fUsingNsView = true;
# else
-# warning 32bit VST UIs on OSX only work if the host supports "hasCockosViewAsConfig"
+# ifndef DISTRHO_NO_WARNINGS
+# warning 32bit VST UIs on OSX only work if the host supports "hasCockosViewAsConfig"
+# endif
fUsingNsView = false;
# endif
# endif // DISTRHO_OS_MAC