summaryrefslogtreecommitdiff
path: root/i386/include/mach/i386/vm_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'i386/include/mach/i386/vm_types.h')
-rw-r--r--i386/include/mach/i386/vm_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/i386/include/mach/i386/vm_types.h b/i386/include/mach/i386/vm_types.h
index 78fb805b..28609e7c 100644
--- a/i386/include/mach/i386/vm_types.h
+++ b/i386/include/mach/i386/vm_types.h
@@ -83,7 +83,11 @@ typedef unsigned long phys_addr_t;
* expressing the difference between two
* vm_offset_t entities.
*/
+#ifdef __x86_64__
typedef unsigned long vm_size_t;
+#else
+typedef natural_t vm_size_t;
+#endif
#endif /* __ASSEMBLER__ */