Enable two-step allocator on FreeBSD
authorBen Gamari <ben@smart-cactus.org>
Mon, 30 Jul 2018 22:01:40 +0000 (18:01 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 31 Jul 2018 15:48:19 +0000 (11:48 -0400)
commit123aeb916cba93018039e583d42408dae80a6dc9
tree7af7a3d8b7e4958318b5ecaaa83cb3e26c7ffd72
parent80b8540b8ce99036acd26d76052bd603cd68fd0b
Enable two-step allocator on FreeBSD

Simplify #ifdef nesting and use MAP_GUARD on FreeBSD and similar
systems. This allows the two-step allocator to be used on FreeBSD,
fixing #15348.
rts/posix/OSMem.c