From 6ba08e9eb0b0c326a83cba0de4f0f1cd2938fe5e Mon Sep 17 00:00:00 2001 From: Antoine Lambert Date: Wed, 27 Nov 2024 00:51:44 +0100 Subject: [PATCH] talipot-core/PluginLibraryLoader: Fix compilation on macOS 14 --- library/talipot-core/src/PluginLibraryLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/talipot-core/src/PluginLibraryLoader.cpp b/library/talipot-core/src/PluginLibraryLoader.cpp index e06a4fc0bc..6bad0b7686 100644 --- a/library/talipot-core/src/PluginLibraryLoader.cpp +++ b/library/talipot-core/src/PluginLibraryLoader.cpp @@ -349,7 +349,7 @@ bool PluginLibraryLoader::initPluginDir(PluginLoader *loader, bool recursive, struct dirent **namelist; int n = scandir(_pluginPath.c_str(), &namelist, #if !(defined(__APPLE__) || defined(__FreeBSD__)) || \ - (defined(__APPLE__) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080) + (defined(__APPLE__) && (__MAC_OS_X_VERSION_MIN_REQUIRED >= 1080 || defined(__arm64__)) reinterpret_cast(__talipot_select_libs), #else __talipot_select_libs,