blob: 892e930b0de882fcc7d50a3c8f99c756dce58452 [file] [log] [blame]
Ian Rogers30fab402012-01-23 15:43:46 -08001// Copyright 2012 Google Inc. All Rights Reserved.
Carl Shapiro69759ea2011-07-21 18:13:35 -07002
Ian Rogers30fab402012-01-23 15:43:46 -08003#ifndef ART_SRC_DLMALLOC_H_
4#define ART_SRC_DLMALLOC_H_
Carl Shapiro69759ea2011-07-21 18:13:35 -07005
Ian Rogers30fab402012-01-23 15:43:46 -08006#define NO_MALLINFO 1
7#define HAVE_MMAP 0
8#define HAVE_MREMAP 0
9#define HAVE_MORECORE 1
10#define MSPACES 1
11#define ONLY_MSPACES 1
12#define USE_DL_PREFIX 1
13#define MALLOC_INSPECT_ALL 1
Carl Shapiro69759ea2011-07-21 18:13:35 -070014
Ian Rogers30fab402012-01-23 15:43:46 -080015// Only #include if we are not compiling dlmalloc.c (to avoid symbol redefinitions)
16#ifndef FOR_DLMALLOC_C
17#include "dlmalloc/malloc.h"
Carl Shapiro69759ea2011-07-21 18:13:35 -070018#endif
19
Ian Rogers30fab402012-01-23 15:43:46 -080020#endif // ART_SRC_DLMALLOC_H_