SanderMertens/bake

bake.util includes non-standard header <sys/ptrace.h>

heybdj opened this issue · 0 comments

bake_util.h and posix.proc.c both rely on ptrace. I don't think ptrace is part of the POSIX standard (assuming the Wikipedia page is accurate).

macOS still includes the header in its official SDK, but other Apple platforms (iOS, tvOS, watchOS) don't include it. Consequently, bake.util can't currently be used as-is by any bake packages targeting one of those platforms (like Flecs).

Is there perhaps a POSIX-standard implementation that could be swapped in as a replacement? 😕