From 5b17dc7f0732d6ab54eca8de2087faeaf8de2acc Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 25 Jul 2023 13:03:18 +0200 Subject: [PATCH] Fix crash with jack under ARM Signed-off-by: falkTX --- source/jackbridge/JackBridge.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/jackbridge/JackBridge.hpp b/source/jackbridge/JackBridge.hpp index b03801875..9d8b59730 100644 --- a/source/jackbridge/JackBridge.hpp +++ b/source/jackbridge/JackBridge.hpp @@ -84,6 +84,11 @@ # endif #endif +#if (defined(__arm__) || defined(__aarch64__) || defined(__mips__) || defined(__ppc__) || defined(__powerpc__)) && !defined(__APPLE__) +# undef POST_PACKED_STRUCTURE +# define POST_PACKED_STRUCTURE +#endif + #define JACK_DEFAULT_AUDIO_TYPE "32 bit float mono audio" #define JACK_DEFAULT_MIDI_TYPE "8 bit raw midi"