diff options
author | Matthias Huetsch [mhu] <matthias.huetsch@oracle.com> | 2011-02-22 19:26:59 +0100 |
---|---|---|
committer | Matthias Huetsch [mhu] <matthias.huetsch@oracle.com> | 2011-02-22 19:26:59 +0100 |
commit | 93fd2e29e8eb51dd7a12cce0d853b75e7fb447fa (patch) | |
tree | 4419b9067647589bf209deead9526d3ee08105b1 /sal/rtl/source/makefile.mk | |
parent | 5da06c75bb7a7c3108d3415149293a0536f0a18a (diff) |
#i115784# configure: Add check for valgrind/memcheck.h, defining HAVE_VALGRIND_MEMCHECK_H.
Diffstat (limited to 'sal/rtl/source/makefile.mk')
-rw-r--r-- | sal/rtl/source/makefile.mk | 4 |
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 |