Skip to content

Commit

Permalink
Guard #pragma clang against Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sudara committed Sep 22, 2024
1 parent e51ddbe commit 055f7b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions melatonin/implementations/platform_includes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <juce_core/juce_core.h>

#if JUCE_WINDOWS && JUCE_MAJOR_VERSION >= 8
Expand Down

0 comments on commit 055f7b4

Please sign in to comment.