From acd35671b8b18777fdda75fbeab9cf0eac4a72e1 Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Sun, 20 Jan 2008 00:38:52 +0000 Subject: [PATCH] HP-UX does support 32-bit memory mappings. --- BasiliskII/src/Unix/vm_alloc.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BasiliskII/src/Unix/vm_alloc.cpp b/BasiliskII/src/Unix/vm_alloc.cpp index c575fd66..a5a94cbb 100644 --- a/BasiliskII/src/Unix/vm_alloc.cpp +++ b/BasiliskII/src/Unix/vm_alloc.cpp @@ -60,6 +60,9 @@ typedef unsigned long vm_uintptr_t; because the emulated target is 32-bit and this helps to allocate memory so that branches could be resolved more easily (32-bit displacement to code in .text), on AMD64 for example. */ +#if defined(__hpux) +#define MAP_32BIT MAP_ADDR32 +#endif #ifndef MAP_32BIT #define MAP_32BIT 0 #endif