Fix android build of the new process launcher

Android does not define the "cross-platform" symbol PT_TRACE_ME. Define
it ourselves, so we can keep the rest of the code generic.

llvm-svn: 293779
This commit is contained in:
Pavel Labath 2017-02-01 16:43:22 +00:00
parent e0e5795f6b
commit 3eb8b1ade1
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@
#ifdef __ANDROID__
#include <android/api-level.h>
#define PT_TRACE_ME PTRACE_TRACEME
#endif
#if defined(__ANDROID_API__) && __ANDROID_API__ < 21