about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libopenshot-audio/0001-undef-fpret-on-aarch64-darwin.patch
blob: c391f77dda8b7b1c6b1d0557641bbaf747ef3df3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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