forked from OSchip/llvm-project
Remove SYS_tgkill from Android.h
instead, use __NR_tgkill directly, which seems to be the preferred form in the codebase anyway. llvm-svn: 277999
This commit is contained in:
parent
6b73456865
commit
c923a3dc00
|
@ -14,8 +14,6 @@
|
|||
#include <string>
|
||||
#include <errno.h>
|
||||
|
||||
#define SYS_tgkill __NR_tgkill
|
||||
|
||||
namespace std
|
||||
{
|
||||
template <typename T>
|
||||
|
|
|
@ -60,7 +60,6 @@
|
|||
#include "lldb/Host/linux/Personality.h"
|
||||
#include "lldb/Host/linux/Ptrace.h"
|
||||
#include "lldb/Host/linux/Uio.h"
|
||||
#include "lldb/Host/android/Android.h"
|
||||
|
||||
// Support hardware breakpoints in case it has not been defined
|
||||
#ifndef TRAP_HWBKPT
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <sys/syscall.h>
|
||||
// Try to define a macro to encapsulate the tgkill syscall
|
||||
#define tgkill(pid, tid, sig) \
|
||||
syscall(SYS_tgkill, static_cast< ::pid_t>(pid), static_cast< ::pid_t>(tid), sig)
|
||||
syscall(__NR_tgkill, static_cast< ::pid_t>(pid), static_cast< ::pid_t>(tid), sig)
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
|
Loading…
Reference in New Issue