Update alloc_lib.c

This commit is contained in:
Brian Kuhl
2017-09-06 20:59:35 -04:00
committed by GitHub
parent af8e50a04e
commit 7816a9777b

View File

@@ -15,6 +15,11 @@
#error "DLMALLOC_VERSION undefined" #error "DLMALLOC_VERSION undefined"
#endif #endif
#ifdef __VXWORKS__
// no sbrk() in VxWorks, configure dlmalloc to use only mmap()
#define HAVE_MORECORE 0
#endif
#if DLMALLOC_VERSION == 286 #if DLMALLOC_VERSION == 286
#include "dlmalloc_ext_2_8_6.c" #include "dlmalloc_ext_2_8_6.c"
#else #else