mirror of
https://github.com/pine64/blisp.git
synced 2025-08-13 15:50:51 +00:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
b1d9a69672 | ||
|
372e76d580 |
@ -10,6 +10,7 @@
|
||||
// to free an allocated buffer on the caller.nn
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <mach-o/dyld.h>
|
||||
|
||||
static void util_get_executable_path(char* buffer_out, uint32_t max_size) {
|
||||
assert(max_size >= PATH_MAX); // n.b. 1024 on MacOS. 4K on most Linux.
|
||||
|
Loading…
x
Reference in New Issue
Block a user