summaryrefslogtreecommitdiffstats
path: root/build/build_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'build/build_config.h')
-rw-r--r--build/build_config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/build_config.h b/build/build_config.h
index 29d55b3..154f237 100644
--- a/build/build_config.h
+++ b/build/build_config.h
@@ -65,6 +65,11 @@
#define USE_TCMALLOC 1
#endif
+// Use heapchecker.
+#if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(NO_HEAPCHECKER)
+#define USE_HEAPCHECKER 1
+#endif
+
// Compiler detection.
#if defined(__GNUC__)
#define COMPILER_GCC 1