aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/odcctools/files/vm_types_h.patch
blob: b4e9ae1df5712b1fee67277233dfa9abd6d624c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- apple-x86-odcctools-758.159/include/foreign/mach/machine/vm_types.h		2011-04-07 11:27:03.605622001 +0200
+++ apple-x86-odcctools-758.159-patched/include/foreign/mach/machine/vm_types.h	2011-04-07 11:27:12.951666000 +0200
@@ -6,8 +6,13 @@
 typedef uint32_t        natural_t;
 typedef int32_t         integer_t;
 
+#ifdef __i386__
 typedef natural_t       vm_offset_t;
 typedef natural_t       vm_size_t;
+#else
+typedef uint64_t        vm_offset_t;
+typedef uint64_t        vm_size_t;
+#endif
 
 typedef uint64_t        mach_vm_address_t;
 typedef uint64_t        mach_vm_offset_t;