]> git.ipfire.org Git - thirdparty/glibc.git/commit
powerpc: Undefine Linux ptrace macros that conflict with __ptrace_request
authorTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Mon, 26 Feb 2018 13:40:17 +0000 (10:40 -0300)
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Mon, 26 Feb 2018 13:40:17 +0000 (10:40 -0300)
commit3d67bc8070d3ad7b201b3424053af210b8e22c82
tree346f0383b7d975c46d90684de750bbbdbed8fecb
parent3e6bbf417e4527d230d47a5c946f70b61b6a20f7
powerpc: Undefine Linux ptrace macros that conflict with __ptrace_request

Linux ptrace headers define macros whose tokens conflict with the
constants of enum __ptrace_request causing build errors when
asm/ptrace.h or linux/ptrace.h are included before sys/ptrace.h.

* sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
macros used in __ptrace_request.

Signed-off-by: Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
(cherry picked from commit 398c6fddafcee2dc4c2b2574417a2d0cfccaeec1)
ChangeLog
sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h