summaryrefslogtreecommitdiff
path: root/src/third_party/boost-1.68.0/libs/container/src/alloc_lib.c
blob: 077768b9462652d0831e43ce7cfac7648fa2a97b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2012-2013. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/container for documentation.
//
//////////////////////////////////////////////////////////////////////////////


#define DLMALLOC_VERSION 286

#ifndef DLMALLOC_VERSION
   #error "DLMALLOC_VERSION undefined"
#endif

#ifdef __VXWORKS__
// no sbrk() in VxWorks, configure dlmalloc to use only mmap() 
#define HAVE_MORECORE 0
#endif 

#if DLMALLOC_VERSION == 286
   #include "dlmalloc_ext_2_8_6.c"
#else
   #error "Unsupported boost_cont_VERSION version"
#endif