diff options
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/runtime/go-varargs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libgo/runtime/go-varargs.c b/libgo/runtime/go-varargs.c index f9270a9..9cb4a7e 100644 --- a/libgo/runtime/go-varargs.c +++ b/libgo/runtime/go-varargs.c @@ -114,7 +114,9 @@ __go_syscall6(uintptr_t flag, uintptr_t a1, uintptr_t a2, uintptr_t a3, #endif -#ifdef HAVE_SYS_PTRACE_H +// AIX ptrace is really different from Linux ptrace. Let syscall +// package handles it. +#if defined(HAVE_SYS_PTRACE_H) && !defined(_AIX) // Despite documented appearances, this is actually implemented as // a variadic function within glibc. |