mirror of
https://github.com/collabora/libsurvive.git
synced 2026-08-04 00:51:21 -04:00
survive_plugins.unix.h: use .dylib extension and _NSGetExecutablePath() on Apple. Also fixes a latent Linux bug where readlink() return value was used as an array index without checking for error (-1). CMakeLists.txt: find hidapi on Apple via pkg-config rather than hardcoded Homebrew paths, which differ between Apple Silicon (/opt/homebrew) and Intel (/usr/local). cn_matrix.h: replace <malloc.h> with <stdlib.h> unconditionally, but guard the re-inclusion of <malloc.h> with _WIN32. <malloc.h> does not exist on macOS; <stdlib.h> provides malloc on all platforms. MSVC does not declare alloca in <stdlib.h> — it lives in <malloc.h>. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cnkalman | ||
| cnmatrix | ||