fix memory collision in allocatng mmap
This commit is contained in:
parent
6b5aa1542c
commit
463348bb2f
2
H/Yap.h
2
H/Yap.h
@ -246,7 +246,7 @@ extern char Yap_Option[20];
|
|||||||
#elif defined(__APPLE__) && !__LP64__
|
#elif defined(__APPLE__) && !__LP64__
|
||||||
#define MMAP_ADDR 0x20000000
|
#define MMAP_ADDR 0x20000000
|
||||||
#else
|
#else
|
||||||
#define MMAP_ADDR 0x02000000
|
#define MMAP_ADDR 0x10000000
|
||||||
#endif
|
#endif
|
||||||
#elif __svr4__ || defined(__SVR4)
|
#elif __svr4__ || defined(__SVR4)
|
||||||
#define MMAP_ADDR 0x02000000
|
#define MMAP_ADDR 0x02000000
|
||||||
|
Reference in New Issue
Block a user