From 88cb38ea292c1eb6881a673ffb213f5874ee592f Mon Sep 17 00:00:00 2001 From: jules Date: Thu, 1 Aug 2013 09:08:27 +0100 Subject: [PATCH] iOS build fix. --- modules/juce_core/native/juce_osx_ObjCHelpers.h | 2 ++ 1 file changed, 2 insertions(+) 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 } //==============================================================================