Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
13 lines
818 B
Diff
13 lines
818 B
Diff
diff --git a/JuceLibraryCode/modules/juce_core/native/juce_osx_ObjCHelpers.h b/JuceLibraryCode/modules/juce_core/native/juce_osx_ObjCHelpers.h
|
|
index 2593790..0b5983d 100644
|
|
--- a/JuceLibraryCode/modules/juce_core/native/juce_osx_ObjCHelpers.h
|
|
+++ b/JuceLibraryCode/modules/juce_core/native/juce_osx_ObjCHelpers.h
|
|
@@ -209,7 +209,7 @@ static inline ReturnValue ObjCMsgSendSuper (struct objc_super* s, SEL sel, Param
|
|
typedef id (*MsgSendSuperFn) (struct objc_super*, SEL, ...);
|
|
static inline MsgSendSuperFn getMsgSendSuperFn() noexcept { return (MsgSendSuperFn) (void*) objc_msgSendSuper; }
|
|
|
|
-#if ! JUCE_IOS
|
|
+#if JUCE_INTEL && ! JUCE_IOS
|
|
typedef double (*MsgSendFPRetFn) (id, SEL op, ...);
|
|
static inline MsgSendFPRetFn getMsgSendFPRetFn() noexcept { return (MsgSendFPRetFn) (void*) objc_msgSend_fpret; }
|
|
#endif
|