factor/vm/os-netbsd.hpp

6 lines
147 B
C++
Raw Normal View History

2009-05-02 05:04:19 -04:00
#include <ucontext.h>
#define UAP_PROGRAM_COUNTER(uap) _UC_MACHINE_PC((ucontext_t *)uap)
#define DIRECTORY_P(file) ((file)->d_type == DT_DIR)