diff options
Diffstat (limited to 'recipes-devtools/odcctools/files/vm_types_h.patch')
-rwxr-xr-x | recipes-devtools/odcctools/files/vm_types_h.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-devtools/odcctools/files/vm_types_h.patch b/recipes-devtools/odcctools/files/vm_types_h.patch new file mode 100755 index 0000000..b4e9ae1 --- /dev/null +++ b/recipes-devtools/odcctools/files/vm_types_h.patch @@ -0,0 +1,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; |