Add support for Darwin's ptrace.
This commit is contained in:
parent
7ebdcb3538
commit
87c15681b2
|
@ -33,6 +33,18 @@
|
|||
# include <sys/ptrace.h>
|
||||
#endif
|
||||
|
||||
#ifndef PTRACE_PEEKUSER
|
||||
# ifdef PT_READ_D
|
||||
# define PTRACE_PEEKUSER PT_READ_D
|
||||
# endif
|
||||
#endif /* PTRACE_PEEKUSER */
|
||||
|
||||
#ifndef PTRACE_POKEUSER
|
||||
# ifdef PT_WRITE_D
|
||||
# define PTRACE_POKEUSER PT_WRITE_D
|
||||
# endif
|
||||
#endif /* PTRACE_POKEUSER */
|
||||
|
||||
#include "winbase.h"
|
||||
|
||||
#include "file.h"
|
||||
|
|
Loading…
Reference in New Issue