Rejigger OSMem.my_mmap to allow building on Mac
authorRichard Eisenberg <eir@cis.upenn.edu>
Thu, 6 Aug 2015 18:37:53 +0000 (14:37 -0400)
committerRichard Eisenberg <eir@cis.upenn.edu>
Thu, 6 Aug 2015 20:01:03 +0000 (16:01 -0400)
commitbc43d23aa8a63ce64c2eeb5a2c74fb58c8f21356
tree73b22ed3ea3aa5929cba306ade944ef683af217b
parentaa230540f5868263740fd7d2f31505a39e2fcb4e
Rejigger OSMem.my_mmap to allow building on Mac

Previously, the prot and flags variables were set but never used
on Mac (darwin). This caused a warning, and the build setup stopped
compilation. This commit is intended simply to omit these variables
when building with darwin_HOST_OS set. No change in behavior on any
platform is intended.
rts/posix/OSMem.c