diff options
author | Damjan Marion <damarion@cisco.com> | 2018-08-01 14:38:36 +0200 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2018-08-01 14:39:58 +0200 |
commit | 5f21e1bd613b372ea6f8be6423894548dae59bdc (patch) | |
tree | bc88c9c1f3aec1c4768078514b9f6392ee037b0a /src/vppinfra | |
parent | afc725afaed47f90f48f148c5c8f74348e0aaf23 (diff) |
Store USE_DLMALLOC in vppinfra/config.h
Change-Id: Ib596e7f525b83dc7e830bcf6a126cd210216ce86
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra')
-rw-r--r-- | src/vppinfra/cache.h | 3 | ||||
-rw-r--r-- | src/vppinfra/clib.h | 2 | ||||
-rw-r--r-- | src/vppinfra/config.h.in | 1 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/vppinfra/cache.h b/src/vppinfra/cache.h index ac0835523cb..7a54d34dfee 100644 --- a/src/vppinfra/cache.h +++ b/src/vppinfra/cache.h @@ -45,9 +45,6 @@ */ #ifndef CLIB_LOG2_CACHE_LINE_BYTES -/* defines CLIB_LOG2_CACHE_LINE_BYTES */ -#include <vppinfra/config.h> - /* Default cache line size of 64 bytes. */ #ifndef CLIB_LOG2_CACHE_LINE_BYTES #define CLIB_LOG2_CACHE_LINE_BYTES 6 diff --git a/src/vppinfra/clib.h b/src/vppinfra/clib.h index 42748b0a34c..a6f88245d79 100644 --- a/src/vppinfra/clib.h +++ b/src/vppinfra/clib.h @@ -38,6 +38,8 @@ #ifndef included_clib_h #define included_clib_h +#include <vppinfra/config.h> + /* Standalone means to not assume we are running on a Unix box. */ #if ! defined (CLIB_STANDALONE) && ! defined (CLIB_LINUX_KERNEL) #define CLIB_UNIX diff --git a/src/vppinfra/config.h.in b/src/vppinfra/config.h.in index 0947c7166f0..58a973144e0 100644 --- a/src/vppinfra/config.h.in +++ b/src/vppinfra/config.h.in @@ -20,4 +20,5 @@ #define CLIB_LOG2_CACHE_LINE_BYTES @LOG2_CACHE_LINE_BYTES@ #endif +#define USE_DLMALLOC @DLMALLOC@ #endif |