summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorMatthias Huetsch [mhu] <matthias.huetsch@oracle.com>2011-02-22 19:26:59 +0100
committerMatthias Huetsch [mhu] <matthias.huetsch@oracle.com>2011-02-22 19:26:59 +0100
commit93fd2e29e8eb51dd7a12cce0d853b75e7fb447fa (patch)
tree4419b9067647589bf209deead9526d3ee08105b1 /sal
parent5da06c75bb7a7c3108d3415149293a0536f0a18a (diff)
#i115784# configure: Add check for valgrind/memcheck.h, defining HAVE_VALGRIND_MEMCHECK_H.
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/source/makefile.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/rtl/source/makefile.mk b/sal/rtl/source/makefile.mk
index 5aaf29ae7d50..80c8e736c3cd 100644
--- a/sal/rtl/source/makefile.mk
+++ b/sal/rtl/source/makefile.mk
@@ -46,6 +46,10 @@ TARGETTYPE=CUI
.INCLUDE : settings.mk
+.IF "$(HAVE_VALGRIND_MEMCHECK_H)" == "TRUE"
+CDEFS+= -DHAVE_VALGRIND_MEMCHECK_H=1
+.ENDIF
+
.IF "$(ALLOC)" == "SYS_ALLOC" || "$(ALLOC)" == "TCMALLOC" || "$(ALLOC)" == "JEMALLOC"
CDEFS+= -DFORCE_SYSALLOC
.ENDIF