Allow building without JEMalloc under MSVC
authorOrvid King <blah38621@gmail.com>
Tue, 2 Feb 2016 17:49:08 +0000 (09:49 -0800)
committerfacebook-github-bot-1 <folly-bot@fb.com>
Tue, 2 Feb 2016 18:20:23 +0000 (10:20 -0800)
commit1b35c9feb5f84d3fbb4cddcbb92d02f4a2ee5799
tree16ef6119bc61d94a77ddfeb64247f6e84e586c6b
parent8b7f6f5a5b17117e9da8c1497937da80ea72e5b9
Allow building without JEMalloc under MSVC

Summary: This was falling back to a hard depency on JEMalloc, and MSVC doesn't have proper weak linkage, so emulate it with some linker magic to get things building.

Reviewed By: yfeldblum

Differential Revision: D2887695

Pulled By: Orvid

fb-gh-sync-id: 50c812a07c4e4e5bbe71263b86386783bf76ba82
folly/detail/Malloc.h