factor/vm/os-netbsd-x86.32.hpp

4 lines
103 B
C++

#include <ucontext.h>
#define ucontext_stack_pointer(uap) ((void *)_UC_MACHINE_SP((ucontext_t *)uap))