summaryrefslogtreecommitdiff
path: root/src/win32
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/w32_leakcheck.c2
-rw-r--r--src/win32/w32_leakcheck.h2
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>