Skip to content

Commit

Permalink
talipot-core/PluginLibraryLoader: Fix compilation on macOS 14
Browse files Browse the repository at this point in the history
  • Loading branch information
anlambert committed Nov 27, 2024
1 parent 01cd817 commit 7597460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/talipot-core/src/PluginLibraryLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<int (*)(const dirent *)>(__talipot_select_libs),
#else
__talipot_select_libs,
Expand Down

0 comments on commit 7597460

Please sign in to comment.