Skip to content

Commit 338ea51

Browse files
authored
Merge pull request #2 from pgiffuni/patch-1
#ifdef MAP_32BIT for the 64bit case only
2 parents 2201655 + 7ba38dc commit 338ea51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/vm.c

+2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ static int mmap_prot_flags[] = {
5656
};
5757

5858
static int mmap_flags[] = {
59+
#ifdef __LP64__
5960
MAP_32BIT,
61+
#endif
6062
MAP_ALIGNED_SUPER,
6163
MAP_ANON,
6264
MAP_FIXED,

0 commit comments

Comments
 (0)