diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2020-07-12 18:43:22 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2020-11-21 21:54:13 +0000 |
commit | 8aed4629b13a5335c0d84792a61c303274f1e09c (patch) | |
tree | 432e59472be6bba687c3413cd6736b2ae0a43eee /src/win32 | |
parent | 51825c4f39af069d413fdb6cc661e53c4b63ad47 (diff) | |
download | libgit2-8aed4629b13a5335c0d84792a61c303274f1e09c.tar.gz |
cmake: rename MSVC_CRTDBG to WIN32_LEAKCHECK
Diffstat (limited to 'src/win32')
-rw-r--r-- | src/win32/w32_leakcheck.c | 2 | ||||
-rw-r--r-- | src/win32/w32_leakcheck.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/win32/w32_leakcheck.c b/src/win32/w32_leakcheck.c index 31803d597..95187a570 100644 --- a/src/win32/w32_leakcheck.c +++ b/src/win32/w32_leakcheck.c @@ -7,7 +7,7 @@ #include "w32_leakcheck.h" -#if defined(GIT_MSVC_CRTDBG) +#if defined(GIT_WIN32_LEAKCHECK) #include "Windows.h" #include "Dbghelp.h" diff --git a/src/win32/w32_leakcheck.h b/src/win32/w32_leakcheck.h index 29bce4e89..7da03ab0e 100644 --- a/src/win32/w32_leakcheck.h +++ b/src/win32/w32_leakcheck.h @@ -13,7 +13,7 @@ /* Initialize the win32 leak checking system. */ int git_win32_leakcheck_global_init(void); -#if defined(GIT_MSVC_CRTDBG) +#if defined(GIT_WIN32_LEAKCHECK) #include <stdlib.h> #include <crtdbg.h> |