detail::MemoryIdler should use Malloc.h's mallctl decl
authorNathan Bronson <ngbronson@fb.com>
Mon, 6 Oct 2014 04:04:53 +0000 (21:04 -0700)
committerAndrii Grynenko <andrii@fb.com>
Wed, 15 Oct 2014 00:53:20 +0000 (17:53 -0700)
commita04f2681dfcbebe4426184af3bcd795bd15152ec
tree2854399702d1562655d3fd3e57db44ddc80e43cd
parentf0c0e8d28099e9d88b9f23d72f2df213f349eb5e
detail::MemoryIdler should use Malloc.h's mallctl decl

Summary:
Malloc.h now takes care to declare mallctl properly on platforms
that aren't using weak symbols, so we should just rely on that for
MemoryIdler.cpp.  This is one step toward fixing folly build on OS X.

Test Plan: fbmake runtests

Reviewed By: je@fb.com

Subscribers: yiding, njormrod

FB internal diff: D1596930

Tasks: 4952724

Blame Revision:
folly/detail/MemoryIdler.cpp