summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--process.c6
-rw-r--r--signal.c6
-rw-r--r--syscall.c3
-rw-r--r--util.c1
4 files changed, 0 insertions, 16 deletions
diff --git a/process.c b/process.c
index 8b3d2c7..5a648a9 100644
--- a/process.c
+++ b/process.c
@@ -47,12 +47,6 @@
#ifdef HAVE_SYS_REG_H
# include <sys/reg.h>
-# ifndef PTRACE_PEEKUSR
-# define PTRACE_PEEKUSR PTRACE_PEEKUSER
-# endif
-# ifndef PTRACE_POKEUSR
-# define PTRACE_POKEUSR PTRACE_POKEUSER
-# endif
#endif
#ifdef HAVE_LINUX_PTRACE_H
diff --git a/signal.c b/signal.c
index 3a11b8a..a41748e 100644
--- a/signal.c
+++ b/signal.c
@@ -37,12 +37,6 @@
#ifdef HAVE_SYS_REG_H
# include <sys/reg.h>
-# ifndef PTRACE_PEEKUSR
-# define PTRACE_PEEKUSR PTRACE_PEEKUSER
-# endif
-# ifndef PTRACE_POKEUSR
-# define PTRACE_POKEUSR PTRACE_POKEUSER
-# endif
#elif defined(HAVE_LINUX_PTRACE_H)
# undef PTRACE_SYSCALL
# ifdef HAVE_STRUCT_IA64_FPREG
diff --git a/syscall.c b/syscall.c
index 3477dcd..4b6b4eb 100644
--- a/syscall.c
+++ b/syscall.c
@@ -37,9 +37,6 @@
#ifdef HAVE_SYS_REG_H
# include <sys/reg.h>
-# ifndef PTRACE_PEEKUSR
-# define PTRACE_PEEKUSR PTRACE_PEEKUSER
-# endif
#elif defined(HAVE_LINUX_PTRACE_H)
# undef PTRACE_SYSCALL
# ifdef HAVE_STRUCT_IA64_FPREG
diff --git a/util.c b/util.c
index 47c8734..85bb94c 100644
--- a/util.c
+++ b/util.c
@@ -46,7 +46,6 @@
#ifdef HAVE_SYS_REG_H
# include <sys/reg.h>
-# define PTRACE_PEEKUSR PTRACE_PEEKUSER
#elif defined(HAVE_LINUX_PTRACE_H)
# undef PTRACE_SYSCALL
# ifdef HAVE_STRUCT_IA64_FPREG