• Christopher Dykes's avatar
    Don't try to use the malloc_usable_size portability implementation if we have JEMalloc · 8d4965ca
    Christopher Dykes authored
    Summary:
    This is only an issue for the OSS HHVM build on OSX, where we have JEMalloc headers included directly.
    In the OSS HHVM build, we define `USE_JEMALLOC` globally if we have JEMalloc, so gate the portability implementation behind that.
    
    Reviewed By: mzlee
    
    Differential Revision: D3237449
    
    fb-gh-sync-id: 07cf9b31114723ffd9f2b29cf449bee0ed8f5703
    fbshipit-source-id: 07cf9b31114723ffd9f2b29cf449bee0ed8f5703
    8d4965ca
Malloc.h 1.1 KB