Skip to content

Commit 3dd1942

Browse files
committed
win32: don't re-define RtlCaptureStackBackTrace
RtlCaptureStackBackTrace is well-defined in Windows, no need to redefine it.
1 parent cc9e47c commit 3dd1942

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/win32/w32_stack.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
#include "win32/posix.h"
1414
#include "hash.h"
1515

16-
/**
17-
* This is supposedly defined in WinBase.h (from Windows.h) but there were linker issues.
18-
*/
19-
USHORT WINAPI RtlCaptureStackBackTrace(ULONG, ULONG, PVOID*, PULONG);
20-
2116
static bool g_win32_stack_initialized = false;
2217
static HANDLE g_win32_stack_process = INVALID_HANDLE_VALUE;
2318
static git_win32__stack__aux_cb_alloc g_aux_cb_alloc = NULL;

0 commit comments

Comments
 (0)