Brian Silverman | fad8f55 | 2018-08-04 23:36:19 -0700 | [diff] [blame^] | 1 | ////////////////////////////////////////////////////////////////////////////// |
| 2 | // |
| 3 | // (C) Copyright Ion Gaztanaga 2012-2013. Distributed under the Boost |
| 4 | // Software License, Version 1.0. (See accompanying file |
| 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 6 | // |
| 7 | // See http://www.boost.org/libs/container for documentation. |
| 8 | // |
| 9 | ////////////////////////////////////////////////////////////////////////////// |
| 10 | |
| 11 | |
| 12 | #define DLMALLOC_VERSION 286 |
| 13 | |
| 14 | #ifndef DLMALLOC_VERSION |
| 15 | #error "DLMALLOC_VERSION undefined" |
| 16 | #endif |
| 17 | |
| 18 | #ifdef __VXWORKS__ |
| 19 | // no sbrk() in VxWorks, configure dlmalloc to use only mmap() |
| 20 | #define HAVE_MORECORE 0 |
| 21 | #endif |
| 22 | |
| 23 | #if DLMALLOC_VERSION == 286 |
| 24 | #include "dlmalloc_ext_2_8_6.c" |
| 25 | #else |
| 26 | #error "Unsupported boost_cont_VERSION version" |
| 27 | #endif |