anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / development / libraries / libopenshot-audio / 0001-undef-fpret-on-aarch64-darwin.patch
blobc391f77dda8b7b1c6b1d0557641bbaf747ef3df3
1 diff --git a/JuceLibraryCode/modules/juce_core/native/juce_osx_ObjCHelpers.h b/JuceLibraryCode/modules/juce_core/native/juce_osx_ObjCHelpers.h
2 index 2593790..0b5983d 100644
3 --- a/JuceLibraryCode/modules/juce_core/native/juce_osx_ObjCHelpers.h
4 +++ b/JuceLibraryCode/modules/juce_core/native/juce_osx_ObjCHelpers.h
5 @@ -209,7 +209,7 @@ static inline ReturnValue ObjCMsgSendSuper (struct objc_super* s, SEL sel, Param
6 typedef id (*MsgSendSuperFn) (struct objc_super*, SEL, ...);
7 static inline MsgSendSuperFn getMsgSendSuperFn() noexcept { return (MsgSendSuperFn) (void*) objc_msgSendSuper; }
9 -#if ! JUCE_IOS
10 +#if JUCE_INTEL && ! JUCE_IOS
11 typedef double (*MsgSendFPRetFn) (id, SEL op, ...);
12 static inline MsgSendFPRetFn getMsgSendFPRetFn() noexcept { return (MsgSendFPRetFn) (void*) objc_msgSend_fpret; }
13 #endif