diff --git a/modules/juce_core/native/juce_osx_ObjCHelpers.h b/modules/juce_core/native/juce_osx_ObjCHelpers.h index 0083114217..10878d0427 100644 --- a/modules/juce_core/native/juce_osx_ObjCHelpers.h +++ b/modules/juce_core/native/juce_osx_ObjCHelpers.h @@ -56,6 +56,7 @@ namespace return [NSString string]; } + #if JUCE_MAC template static NSRect makeNSRect (const RectangleType& r) noexcept { @@ -64,6 +65,7 @@ namespace static_cast (r.getWidth()), static_cast (r.getHeight())); } + #endif } //==============================================================================