Index: base/mac/scoped_mach_vm.cc |
diff --git a/base/mac/scoped_mach_vm.cc b/base/mac/scoped_mach_vm.cc |
index a9055aac72bed943c41da306c983f72e1a17fa8c..9ddf7d84227670dcfe50a39f3a2313820cec029a 100644 |
--- a/base/mac/scoped_mach_vm.cc |
+++ b/base/mac/scoped_mach_vm.cc |
@@ -4,6 +4,12 @@ |
#include "base/mac/scoped_mach_vm.h" |
+#if defined(OS_IOS) |
+#define mach_vm_address_t vm_address_t |
+#define mach_vm_size_t vm_size_t |
+#define mach_vm_deallocate vm_deallocate |
+#endif // OS_IOS |
+ |
namespace base { |
namespace mac { |