From 416765721b944b059bf91afd1fb6369102f37b2f Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 7 Sep 2013 03:49:36 -0700 Subject: [PATCH] On ARM, mach_vm isn't supported, so use vm_map. --- Mach/Inject.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Mach/Inject.cpp b/Mach/Inject.cpp index 840dc63..6ad2c2a 100644 --- a/Mach/Inject.cpp +++ b/Mach/Inject.cpp @@ -22,7 +22,15 @@ #include #include + +#ifdef __arm__ +#include +#define mach_vm_allocate vm_allocate +#define mach_vm_protect vm_protect +#define mach_vm_write vm_write +#else #include +#endif #include -- 2.50.0