Commit 6d372314 authored by Tudor Bosman's avatar Tudor Bosman Committed by Peter Griess

Add declaration for allocm

Test Plan: compiled

Reviewed By: lucian@fb.com

FB internal diff: D986998
parent 442a46c3
......@@ -82,6 +82,7 @@ namespace folly {
#if defined(JEMALLOC_MANGLE) && defined(JEMALLOC_EXPERIMENTAL)
#define rallocm je_rallocm
#define allocm je_allocm
#endif
#endif /* ALLOCM_SUCCESS */
......@@ -93,6 +94,8 @@ namespace folly {
*/
extern "C" int rallocm(void**, size_t*, size_t, size_t, int)
__attribute__((weak));
extern "C" int allocm(void**, size_t*, size_t, int)
__attribute__((weak));
#ifdef _LIBSTDCXX_FBSTRING
namespace std _GLIBCXX_VISIBILITY(default) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment