]> git.ipfire.org Git - thirdparty/git.git/commit - git-compat-util.h
msvc: add a compile-time flag to allow detailed heap debugging
authorJeff Hostetler <jeffhost@microsoft.com>
Tue, 25 Jun 2019 14:49:40 +0000 (07:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Jun 2019 17:46:57 +0000 (10:46 -0700)
commit556702f86cb043f18bf46dceec25fe1e783c4590
tree79bfbdf11c7c3b20f31113abf4e6f4704b4865ea
parentdce7d295514f0acebb897cc37a451963d60588f5
msvc: add a compile-time flag to allow detailed heap debugging

MS Visual C comes with a few neat features we can use to analyze the
heap consumption (i.e. leaks, max memory, etc).

With this patch, we introduce support via the build-time flag
`USE_MSVC_CRTDBG`.

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.c
config.mak.uname
git-compat-util.h