MacOS doesn't have malloc_usable_size()
authorSara Golemon <sgolemon@fb.com>
Mon, 2 Mar 2015 05:57:08 +0000 (21:57 -0800)
committerAlecs King <int@fb.com>
Tue, 3 Mar 2015 03:31:10 +0000 (19:31 -0800)
commit66a076400edfc7cd1dd0b5de178b0c2f29660557
tree65b201672271778ad92ccf300a9637e407f351c7
parent1f6e3142e942cd01fa6eb07f2eb2613f31f5e941
MacOS doesn't have malloc_usable_size()

Summary:
Use malloc_size() instead

Test Plan: HHVM build on MacOS

Reviewed By: joelm@fb.com

Subscribers: trunkagent, folly-diffs@, yfeldblum

FB internal diff: D1875364

Signature: t1:1875364:1425061479:7d8cec757c186fa8c30b6500fca6b2fe4c1ed137
folly/Portability.h