From 1e3b910d014f7f7d44e8b3b76eb47efad2121e4f Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 6 Feb 2024 22:29:54 +0100 Subject: [PATCH] Fix loading ppc64le vst3 plugins Signed-off-by: falkTX --- source/utils/CarlaVst3Utils.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/utils/CarlaVst3Utils.hpp b/source/utils/CarlaVst3Utils.hpp index 7b3f697d7..fb41bfc2b 100644 --- a/source/utils/CarlaVst3Utils.hpp +++ b/source/utils/CarlaVst3Utils.hpp @@ -59,7 +59,11 @@ #elif defined(__mips) || defined(__mips__) #define V3_ARCHITECTURE "mips" #elif defined(__ppc64) || defined(__ppc64__) || defined(__powerpc64__) - #define V3_ARCHITECTURE "ppc64" + #ifdef __LITTLE_ENDIAN__ + #define V3_ARCHITECTURE "ppc64le" + #else + #define V3_ARCHITECTURE "ppc64" + #endif #elif defined(__ppc) || defined(__ppc__) || defined(__powerpc__) #define V3_ARCHITECTURE "ppc" #elif defined(__riscv)