mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
14 lines
664 B
Diff
14 lines
664 B
Diff
|
diff --git a/src/gllib/vma-iter.c b/src/gllib/vma-iter.c
|
||
|
index 6045f21d7..d50a3a398 100644
|
||
|
--- a/src/gllib/vma-iter.c
|
||
|
+++ b/src/gllib/vma-iter.c
|
||
|
@@ -1327,7 +1327,7 @@ vma_iterate (vma_iterate_callback_fn callback, void *data)
|
||
|
In 64-bit processes, we could use vm_region_64 or mach_vm_region.
|
||
|
I choose vm_region_64 because it uses the same types as vm_region,
|
||
|
resulting in less conditional code. */
|
||
|
-# if defined __ppc64__ || defined __x86_64__
|
||
|
+# if defined __aarch64__ || defined __ppc64__ || defined __x86_64__
|
||
|
struct vm_region_basic_info_64 info;
|
||
|
mach_msg_type_number_t info_count = VM_REGION_BASIC_INFO_COUNT_64;
|
||
|
|