diff options
author | Austin Seipp <austin@well-typed.com> | 2013-10-26 12:50:16 -0500 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2013-10-26 12:51:09 -0500 |
commit | 619fd18de0700edb531db5f3836b034489460b88 (patch) | |
tree | 433a5a11a283a83265c5d36b405452a34107712d /rts/RtsFlags.h | |
parent | d34f1c851d6ef01aef109dd3515db17b795056aa (diff) | |
download | haskell-619fd18de0700edb531db5f3836b034489460b88.tar.gz |
Fix getPhysicalMemorySize on OS X (#8481)
Darwin doesn't support _SC_PHYS_PAGES, but we can get the exact number
of bytes of physical memory via 'hw.memsize', so we use that instead.
Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'rts/RtsFlags.h')
0 files changed, 0 insertions, 0 deletions