29 Mar
2009
29 Mar
'09
6:55 a.m.
Nat Goodspeed
On an Intel "fall 2008" MacBook Pro running OS X 10.5.6, with Apple gcc 4.0.1, I had to comment out the MAP_ANONYMOUS mmap() flag [4] -- I don't think that flag is available in Darwin. (Obviously that patch should test for MAP_ANONYMOUS rather than simply suppressing it.)
Use MAP_ANON on Apple. It's been a while, but IIRC Apple doesn't support/export the latest POSIX spec. -tom