diff --git a/melatonin/implementations/platform_includes.h b/melatonin/implementations/platform_includes.h index d5f39d9..3d71f13 100644 --- a/melatonin/implementations/platform_includes.h +++ b/melatonin/implementations/platform_includes.h @@ -9,7 +9,10 @@ // see https://forum.juce.com/t/no-template-named-cfuniqueptr-using-xcode13/62528 // #define JUCE_GRAPHICS_INCLUDE_COREGRAPHICS_HELPERS 1 +#ifndef JUCE_WINDOWS #pragma clang diagnostic ignored "-Wimport-preprocessor-directive-pedantic" +#endif + #include #if JUCE_WINDOWS && JUCE_MAJOR_VERSION >= 8