Create a malloc.h portability header
Summary:Let's break OSX! Alright, maybe not. Neither OSX nor Windows define malloc_usable_size, so we implement them based on what is available on the respective platforms. This moves the implementation for OSX out of Portability.h and into the new header, so it likely breaks something on OSX, although I'm not sure what. Reviewed By: yfeldblum Differential Revision: D3019938 fb-gh-sync-id: df95faef09535098fb73b7b3479d7a73f6b49712 fbshipit-source-id: df95faef09535098fb73b7b3479d7a73f6b49712
Showing
folly/portability/Malloc.cpp
0 → 100755
folly/portability/Malloc.h
0 → 100755
Please register or sign in to comment